-
Notifications
You must be signed in to change notification settings - Fork 12
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
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
@lewisjkl GitHub told me you merged this but it also tells me that #180 replaced it. So wondering if you meant to merge this and if so how the two relate. I see:
But then I see nothing on main 🤔 Bit confused! |
Ben's PR forked from your branch, and had all the commits your branched contained. So merging Ben's PR into main implies merging this PR into main, as all the commits end up in main. |
Aaaah, thanks! I should have looked at #180 more carefully, then I'd have realised. |
No description provided.