Replies: 1 comment
-
IMO, in this situation, you only need one schema with an optional |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From the document here i know that "The @output decorator can only use once",but how can i deal with this condition?
In my assume,the input of
PaginationSchema
can be output byFundPaginationSchema
whileEmptySchema
can be deal withFundSampleSchema
.In DRF(Django REST framework),it can be deal with code like this:
In order to avoid my question not clear enough, here are two supplementary screenshots of my question:
Beta Was this translation helpful? Give feedback.
All reactions