You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At first I also thougt Vorto would be an easy one, but thinking about it, it might actually not be that easy anyway, since it can wrap any property editor.
Simple text string would be easy enough but, lets say I've wrapped a MNTP, which data do you expect to be returned? I've expect that I'll be able to select single fields on the content that's been picked like I can if the editor wasn't wrapped by Vorto.
If we return the raw JSON you need to do multiple queries to get the content, since it will only contain the ids.
Implementing a GraphQLValueResolver could be a solution to this, but then we'll need to dynamically generate "VortoGraphTypes" for each data type, so the Schema knows what data we're wrapping. That's not possible with the code today, but I might be able to hack something together that allows this (can see this might be a necessity for other property editors as well).
Dictionary items could(should?) be exposed as a field and maybe even with a way to select by key/keys.
I'm not sure how you would do the swapping out within GraphQL.
Multi-lingual can be done in a number of different ways and at some point its going to crop up about how this could support it.
The text was updated successfully, but these errors were encountered: