- Issue created by @cedricl
- 🇦🇺Australia almunnings Melbourne, 🇦🇺
Oooh, Thats an interesting one!
We would need to split them out into new types to get the correct combos of first/second.DoubleTextText
DoubleTextBoolean
DoubleBooleanText
DoubleBooleanBoolean etc etcThis could create... 100 unique types.
https://onecompiler.com/python/3zfjmemyx
If we did it, it could be really handy to some folks, but it's also adding ~~a lot~~ of types to the schema, which isn't ideal.
I wonder if we treated the type of the subfield as the instance of that subfield.
eg
node article / field_my_subfield
first: int (Player score)
second: text (Player name)turns into a type of...
NodeArticle { mySubfield: NodeArticleMySubfield } NodeArticleMySubfield { first: Int second: Text }
The odds of someone needing 100 type combos over a few double fields, this might be a better direction.
I'll have a sleep on it and start prototyping
- Status changed to Needs work
over 1 year ago 11:07am 25 July 2023 -
almunnings →
committed 780266a1 on 2.0.x
Issue #3376730 by CedricL, almunnings: Support for Double Field
-
almunnings →
committed 780266a1 on 2.0.x
- 🇦🇺Australia almunnings Melbourne, 🇦🇺
Ok, take a look on dev. Give it a whirl.
What a puzzle! Thanks for the feature suggestion.
- Status changed to Fixed
over 1 year ago 2:59am 27 July 2023 - Status changed to Fixed
over 1 year ago 12:27am 4 August 2023