Very basic implementation of GraphQL support for the Address fieldtype.
Without these changes, GraphQL throws an Exception because it tries casting the Address field to String.
I've simply made it convert to array instead of string, dumping all the available data from the Address field in an array.
Very basic implementation of GraphQL support for the Address fieldtype.
Without these changes, GraphQL throws an Exception because it tries casting the Address field to String. I've simply made it convert to array instead of string, dumping all the available data from the Address field in an array.