You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TestOperationInput and TestOperationOutput that are generated will generate filed which are Optional[String] even if they are annotated with @required
This happens only with input and output of a operation
The text was updated successfully, but these errors were encountered:
That's because inputs and outputs with the @input / @output traits treat top-level members as optional. See here for more information on that. Using the inline input and output shape definition syntax automatically applies those traits.
Lets assume that we have an operation as shown below
The TestOperationInput and TestOperationOutput that are generated will generate filed which are Optional[String] even if they are annotated with @required
This happens only with input and output of a operation
The text was updated successfully, but these errors were encountered: