Skip to content
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

BaseImage: prefer Ash.Changeset.fetch_change/2 to apply_attributes/1 #603

Conversation

davidebriani
Copy link
Collaborator

When trying to upload the file of a base image during its creation, prefer using Ash.Changeset.fetch_change/2 to retrieve just the version of the base image, instead of resorting to Ash.Changeset.apply_attributes/1 to fetch all attributes.

When trying to upload the file of a base image during its creation,
prefer using Ash.Changeset.fetch_change/2 to retrieve just the version
of the base image, instead of resorting to
Ash.Changeset.apply_attributes/1 to fetch all attributes.

Signed-off-by: Davide Briani <davide.briani@secomind.com>
@coveralls
Copy link

coveralls commented Sep 24, 2024

Pull Request Test Coverage Report for Build 84f9e6b1810bc857664040205e7abf7de774bbed-PR-603

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 80.565%

Totals Coverage Status
Change from base Build 95e286b7acb3be1f28127a905e617c1e85667225: 0.0%
Covered Lines: 1227
Relevant Lines: 1523

💛 - Coveralls

@rbino rbino merged commit a5c8731 into edgehog-device-manager:release-0.9 Sep 25, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants