-
Notifications
You must be signed in to change notification settings - Fork 3
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
refactor: use enums with graphene #399
base: master
Are you sure you want to change the base?
Conversation
9636eaa
to
7973984
Compare
KUKKUU-API branch is deployed to platta: https://kukkuu-pr399.api.dev.hel.ninja 🚀🚀🚀 |
TestCafe result is failed for https://kukkuu-pr399.api.dev.hel.ninja 😿💢💥💥 |
KUKKUU-API branch is deployed to platta: https://kukkuu-pr399.api.dev.hel.ninja 🚀🚀🚀 |
TestCafe result is success for https://kukkuu-pr399.api.dev.hel.ninja 😆🎉🎉🎉 |
7973984
to
1d1d413
Compare
Quality Gate failedFailed conditions |
KUKKUU-API branch is deployed to platta: https://kukkuu-pr399.api.dev.hel.ninja 🚀🚀🚀 |
TestCafe result is success for https://kukkuu-pr399.api.dev.hel.ninja 😆🎉🎉🎉 |
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.
These have now appeared. Probably after rebase?
'errors': [ | ||
{ | ||
'extensions': { | ||
'code': 'GENERAL_ERROR' | ||
}, | ||
'locations': [ | ||
{ | ||
'column': 3, | ||
'line': 3 | ||
} | ||
], | ||
'message': '''value too long for type character varying(16) | ||
''', | ||
'path': [ | ||
'addMessage' | ||
] |
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.
This error needs to be fixed.
'errors': [ | ||
{ | ||
'extensions': { | ||
'code': 'GENERAL_ERROR' | ||
}, | ||
'locations': [ | ||
{ | ||
'column': 3, | ||
'line': 3 | ||
} | ||
], | ||
'message': '''value too long for type character varying(16) | ||
''', | ||
'path': [ | ||
'addMessage' | ||
] |
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.
This error needs to be fixed.
'extensions': { | ||
'code': 'GENERAL_ERROR' | ||
}, | ||
'locations': [ | ||
{ | ||
'column': 7, | ||
'line': 22 | ||
} | ||
], | ||
'message': "Enum 'EventParticipantsPerInvite' cannot represent value: 'EnumMeta.FAMILY'", | ||
'path': [ | ||
'addEvent', | ||
'event', | ||
'participantsPerInvite' |
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.
This error needs to be fixed
'errors': [ | ||
{ | ||
'extensions': { | ||
'code': 'GENERAL_ERROR' | ||
}, | ||
'locations': [ | ||
{ | ||
'column': 7, | ||
'line': 22 | ||
} | ||
], | ||
'message': "Enum 'EventParticipantsPerInvite' cannot represent value: 'EnumMeta.FAMILY'", | ||
'path': [ | ||
'addEvent', | ||
'event', | ||
'participantsPerInvite' | ||
] | ||
} |
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.
This error needs to be fixed
KK-1108.
Use the enums as preferred in django graphene. An alternative for #390. See https://github.com/City-of-Helsinki/kukkuu-admin/pull/277/files for schema changes in Kukkuu Admin UI when the graphql schema is generated from this source base.
PR before rebasing: