Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logic around @omit emulation and smart-tag inheritance #2187

Merged
merged 10 commits into from
Sep 27, 2024

Conversation

benjie
Copy link
Member

@benjie benjie commented Sep 27, 2024

Description

Fixes #2029 and improves behaviors even more since #2160.

Also fixes #1821 I think; at least I can't reproduce this issue any more.

Performance impact

Unknown.

Security impact

Unknown.

Checklist

  • My code matches the project's code style and yarn lint:fix passes.
  • I've added tests for the new feature, and yarn test passes.
  • I have detailed the new feature in the relevant documentation.
  • I have added this feature to 'Pending' in the RELEASE_NOTES.md file (if one exists).
  • If this is a breaking change I've explained why.

… incorrectly inheriting from their underlying codecs, bugs in unlogged/temp table behavior, and incorrect skipping of generating table types. You may find after this change you have fields appearing in your schema that were not present before, typically these will represent database functions where you `@omit`'d the underlying table - omitting the table should not prevent a function from accessing it. Further, fix behavior of `@omit read` emulation to add `-connection -list -array -single`.
Copy link

changeset-bot bot commented Sep 27, 2024

🦋 Changeset detected

Latest commit: e86e5a7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
graphile-build-pg Patch
postgraphile Patch
graphile Patch
graphile-utils Patch
pgl Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@benjie benjie merged commit c4f5413 into main Sep 27, 2024
36 checks passed
@benjie benjie deleted the fix-omit-behavior branch September 27, 2024 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

@omit tag does not get emulated correctly in v5 Better v4/5 compatibility wrt CRUD @omit
1 participant