Skip to content

Conditionally include a property #1729

Answered by alex-frankel
mickybar asked this question in Q&A
Discussion options

You must be logged in to vote

Have you tried setting the value to null when the condition is false? This typically gets handled by the resource as if the property was not declared.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@mickybar
Comment options

Answer selected by mickybar
Comment options

You must be logged in to vote
4 replies
@majastrz
Comment options

@JustinGrote
Comment options

@majastrz
Comment options

@mickybar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants