Dynamic return types in Service #3192
Unanswered
superbarne
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Is there a way to set a service return type based on the query?
It seems that for now it does not work. Because when I use $select in the query. It returns the other properties as well:
Our goal is to populate fields based on a condition. The current solution is to make the fields that are populated optional.
I hope some of you have an answer to this.
Beta Was this translation helpful? Give feedback.
All reactions