-
Notifications
You must be signed in to change notification settings - Fork 77
[5200] Add support for uploading projects with models referencing each other #5723
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
Conversation
0415b34 to
42489b8
Compare
42489b8 to
13c2e23
Compare
| public record UploadDocumentInput(@NotNull UUID id, @NotNull String editingContextId, @NotNull UploadFile file, boolean allowProxies, boolean readOnly) implements IInput { | ||
| public UploadDocumentInput(@NotNull UUID id, @NotNull String editingContextId, @NotNull UploadFile file, boolean readOnly) { | ||
| this(id, editingContextId, file, false, readOnly); | ||
| } | ||
| } |
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 is mainly used to communicate between the frontend and backend. It would be very odd to use it to carry strictly internal data hidden from the GraphQL schema. I'll have to retrieve the code and look at it in more details to understand the flow of the code.
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.
Indeed, it's no longer needed and I forgot to clean it up after rebasing the PR.
It was needed in my initial version, before #5446 rewrote the project import logic: in the old version, ProjectImporter used to import the documents by programmatically creating and sending UploadDocumentInput to the editingContextEventProcessor.
13c2e23 to
ad20614
Compare
sbegaudeau
left a comment
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.
Everything I tried seems to work nicely 👍
ad20614 to
7003e2d
Compare
…h other Bug: #5200 Signed-off-by: Pierre-Charles David <[email protected]>
7003e2d to
6790b9c
Compare
Bug: #5200
Signed-off-by: Pierre-Charles David [email protected]
General purpose
What is the main goal of this pull request?