- Issue created by @ralf57
- First commit to issue fork.
- 🇧🇬Bulgaria pfrenssen Sofia
This is a great suggestion. I introduced the
metadata
field early on when I started the port to GraphQL 4 because I was concerned about potential key collisions. But indeed this is making the migration from GraphQL 3 to GraphQL 4 more difficult than strictly needed.I will have a look if this can be easily reverted to the original layout as used previously.
If we change this back this will be a B/C break but I think this is OK since we are still in early alpha.
- 🇧🇬Bulgaria pfrenssen Sofia
I added an MR that moves the
metadata
fields in the root. There were 2 collisions:WebformElementMetadata.required
is conflicting withWebformElement.required
. This has been solved by keeping theWebformElement.required
field and its corresponding typeWebformRequiredElement
. The fieldsWebformElementMetadata.required
andWebformElementMetadata.requiredError
are removed. This best aligns with the how it was done previously in the 8.x-1.x branch.WebformElementMetadata.multiple
is conflicting withWebformElement.multiple
. This has been solved by renamingWebformElement.multiple
toWebformElement.multipleValues
so that it matches the type nameWebformElementMultipleValuesBase
.
- Status changed to RTBC
4 months ago 12:44pm 6 September 2024 - Status changed to Fixed
3 months ago 12:14pm 17 September 2024 - Status changed to RTBC
3 months ago 12:17pm 17 September 2024 -
pfrenssen →
committed 164e3cc9 on 2.x
Issue #3472252 by pfrenssen, ralf57, hazn: Remove Metadata subfields
-
pfrenssen →
committed 164e3cc9 on 2.x
- Status changed to Fixed
3 months ago 12:26pm 17 September 2024 Automatically closed - issue fixed for 2 weeks with no activity.