-
Notifications
You must be signed in to change notification settings - Fork 22
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
chore(update_channel): better errors #771
chore(update_channel): better errors #771
Conversation
Pull Request Test Coverage Report for Build b51ed9469c247cec308c7d28166a562aedf5f225-PR-771Details
💛 - Coveralls |
158b288
to
7e9c7e0
Compare
backend/lib/edgehog/update_campaigns/update_channel/changes/relate_target_groups.ex
Outdated
Show resolved
Hide resolved
0173107
to
332fea1
Compare
c82adb8
to
9a5e7aa
Compare
backend/lib/edgehog/update_campaigns/update_channel/error_handler.ex
Outdated
Show resolved
Hide resolved
d0185aa
to
ed65535
Compare
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.
The copyright for all modified files needs to be updated
Other than that, lgtm
backend/test/edgehog_web/schema/mutation/update_update_channel_test.exs
Outdated
Show resolved
Hide resolved
38d7e23
to
278b643
Compare
This depends on ash-project/ash_graphql#257 and ash-project/ash_graphql#253, both have been merged but have yet to be integrated in the next release. When it will be ready we can bump up the ash_graphql and ash version and re open the PR for review. |
ca658ed
to
b51ed94
Compare
@lusergit here it is: https://github.com/ash-project/ash_graphql/releases/tag/v1.5.0 |
When creating and updating an update channel, target group ids are validated to be available, meaning: - they are present in the DB - they are not related to any other update channel closes edgehog-device-manager#529 Signed-off-by: Luca Zaninotto <[email protected]>
b51ed94
to
5374612
Compare
When creating and updating an update channel, target group ids are validated to be available, meaning:
closes #529