chore: Generated Files.FileUploadRequest resource#1274
Open
osmanhadzic wants to merge 1 commit intoedgehog-device-manager:mainfrom
Open
chore: Generated Files.FileUploadRequest resource#1274osmanhadzic wants to merge 1 commit intoedgehog-device-manager:mainfrom
osmanhadzic wants to merge 1 commit intoedgehog-device-manager:mainfrom
Conversation
ab1f239 to
5b579cb
Compare
OmarBrbutovic
requested changes
Mar 9, 2026
Collaborator
OmarBrbutovic
left a comment
There was a problem hiding this comment.
In general, I would suggest slowing down the merge of this PR. The overall implementation of the feature has been changing frequently, and it would be better to stabilize the approach first.
Please make sure to research and implement the backend logic, not just the Resource layer. Additionally, the required migrations are currently missing.
For reference on how to properly introduce a new resource in Edgehog, you can look at these PRs:
Generated the `Files.FileDownloadRequest` resource using the command ```bash mix ash.gen.resource Edgehog.Files.FileUploadRequest \\ --default-actions read,destroy \\ --uuid-v7-primary-key id \\ --attribute url:string:required:public \\ --attribute source:string:public \\ --attribute compression:string:public \\ --attribute progress_enabled:boolean:public \\ --attribute status:string:public \\ --attribute progress_percentage:integer:public \\ --attribute response_code:integer:public \\ --attribute response_message:string:public \\ --relationship belongs_to:device:Edgehog.Devices.Device:required:public \\ --timestamps \\ --extend postgres,graphql ```` Signed-off-by: Osman Hadzic <osman.hadzic@secomind.com>
5b579cb to
941f8dc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Generated the
Files.FileDownloadRequestresource using the commandChange Title
Checklist
Further Comments (optional)
Screenshots / Demos (optional)