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
Define unknownFieldRetention trait #135
base: main
Are you sure you want to change the base?
Conversation
.build() | ||
|
||
val model = | ||
Model.assembler.disableValidation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any reason why we have to disable validation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, I based this spec on one of the existing ones which had this. I'll see what happens if I enable it.
4417d9e
to
739f418
Compare
739f418
to
a741ba6
Compare
@trait( | ||
selector: "structure > member :test(> document)" | ||
) | ||
structure unknownJsonFieldRetention {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From @Baccata via Slack:
just unify the two traits as jsonUnkown. Document abides by json semantics, and we do implement the same semantics in both Document and jsoniter
No description provided.