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

feat: add @hidden directive on fields #315

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Conversation

Etienne-Buschong
Copy link
Contributor

No description provided.

@Yogu
Copy link
Member

Yogu commented Mar 20, 2024

can you add tests tests

  • (probably best in the ast-validation-modules directory) for when a system field is considered redundant or not, and for whether the types are correct?
  • in create-model.spec.ts for the system overrides including e.g. updatedAt: isHidden (there already is one for id: ID @key
  • for isHidden in the meta schema

@Etienne-Buschong Etienne-Buschong force-pushed the add-hidden-directive branch 4 times, most recently from 0f50790 to 754dee5 Compare March 20, 2024 12:48
@Yogu
Copy link
Member

Yogu commented Mar 20, 2024

tests are good

@Yogu
Copy link
Member

Yogu commented Mar 21, 2024

aside from the suggestion and the merge conflict it's ready I think, feel free to merge afterwards

@Etienne-Buschong Etienne-Buschong merged commit 86ce3ca into main Mar 28, 2024
28 checks passed
@Yogu Yogu deleted the add-hidden-directive branch January 31, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants