-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fix Assortment Paths #385
Fix Assortment Paths #385
Conversation
16bd523
to
250df35
Compare
Issues with consistency:
This could lead to broken breadcrumbs and exceptions because the GraphQL Schema state that assortmentProduct on ProductAssortmentPath and assortmentId/assortmentTexts are NON-NULL and AssortmentLink, AssortmentFilter and AssortmentProduct state that the edges are NON-NULL How to solve this? a) Fix on edit
b) Relax the graphql schema
Going with B is like sending the rotten tomato to the client, shall the client deal with the mess. We should always try to keep the DB as consistent as possible so we should do A. |
…ssortments.findOne
250df35
to
007c729
Compare
…sortments and product links
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me 👍
…ssortments.findOne