Open clintandrewhall opened 5 years ago
For now there is no mapping firlds with hyphens to camelCase.
There are two ways:
same error
@Zhouchuanwen Nope, this package cannot translate numeric field names to graphql field names. And I don't know any workaround for that. Except you rename fields according to graphql field name convention. Or write your own resolver from scratch without graphql-compose-elasticsearch.
If the ES mapping property name contains a hyphen, the service cannot start. Is there a workaround?