-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Generator: Generate better API for Many-to-one-relations with orphanRemoval
activated where the reverse side has its own API generated
#1478
Conversation
27a4b3f
to
d877ee1
Compare
d877ee1
to
46b67c6
Compare
…rudField for a ManyToOne relation This will generate an api for sub entities, similar to scope. Example: Product Variants Usage: @CrudField({ mainProperty: true }) Generated is the following: - a product id argument for the get-many query - a product id argument for the create mutation TODO: - [ ] find a better name
6681366
to
d1e6d7c
Compare
reverted |
…ToOne relations" This reverts commit d1e6d7c.
@johnnyomair ready to review |
Co-authored-by: Johannes Obermair <48853629+johnnyomair@users.noreply.github.com>
@nsams please fix conflicts, thanks! |
orphanRemoval
activated where the reverse side has its own API generated
@nsams should we merge this into main or next? It could take some time before we release the next major version |
it is an incomaptible change, as it is now not a new option anymore |
@nsams conflicts 🙄 |
yes, I'm at it |
id
as argument to create mutationid
as argument to list query