Skip to content

Commit

Permalink
[4282] Fix frontend warning about non-unique fragment name
Browse files Browse the repository at this point in the history
Bug: #4282
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
  • Loading branch information
pcdavid authored and AxelRICHARD committed Jan 7, 2025
1 parent f11f370 commit 3f2ad65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ This may have some consequences for downstream applications which are embedding

=== Bug fixes

- https://github.com/eclipse-sirius/sirius-web/issues/4282[#4282] [diagram] Fixed a warning on the frontend about non-unique GraphQL fragment name

=== New Features

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2023, 2024 Obeo and others.
* Copyright (c) 2023, 2025 Obeo and others.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -35,10 +35,10 @@ const getToolSectionsQuery = gql`
... on DiagramDescription {
palette(diagramElementId: $diagramElementId) {
paletteEntries {
...ToolFields
...ConnectionToolFields
... on ToolSection {
tools {
...ToolFields
...ConnectionToolFields
}
}
}
Expand All @@ -50,7 +50,7 @@ const getToolSectionsQuery = gql`
}
}
fragment ToolFields on Tool {
fragment ConnectionToolFields on Tool {
__typename
... on SingleClickOnTwoDiagramElementsTool {
candidates {
Expand Down

0 comments on commit 3f2ad65

Please sign in to comment.