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
UserDog should be identified as a join table and Image should not be.
Expected behavior
Request:
In the schema produced by running amplify codegen model-introspection --output-dir example...
Mark join table models with a property like isJoinTable: true
Add an identification to the model introspection schema so that it can be distinguished from a) the MIPR and b) previous versions of itself. Example: isIntrospection: true, version: 1.1.0 (or does the version field there currently already serve as this indicator?)
Reproduction steps
N/A
GraphQL schema(s)
No response
Log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Before opening, please confirm:
How did you install the Amplify CLI?
No response
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
10.7.3
What operating system are you using?
Mac
Amplify Codegen Command
other
codegen <subcommand>
(please mention in the issue)Describe the bug
This is a feature request
Currently, there is no 100% sure way of telling whether a model is a join table from the introspection schema.
Definition of "join table" here:
Given the schema:
UserDog
should be identified as a join table andImage
should not be.Expected behavior
Request:
In the schema produced by running
amplify codegen model-introspection --output-dir example
...isJoinTable: true
isIntrospection: true
,version: 1.1.0
(or does theversion
field there currently already serve as this indicator?)Reproduction steps
N/A
GraphQL schema(s)
No response
Log output
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: