We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello. I'm trying to use with sdl schema, like this other library -> https://github.com/taion/graphql-type-json#sdl-with-graphql-tools
My graphql sdl is:
scalar Geometry """ Types """ type Olepoint { type: EnumFeature! geometry: Geometry! properties: Properties! }
and into resolvers.ts
... import { Geometry } from 'graphql-geojson-scalar-types'; ..... export const resolvers: Resolvers = { Geometry: Geometry, ...... }
But at graphql explorer can not do query with Geometry fields ->
query OlepointLatLng($apiEnd: EnumApiEnd!, $lat: Latitude!, $lng: Longitude!) { olepointLatLng(apiEnd: $apiEnd, lat: $lat, lng: $lng) { geometry { type coordinates }....
So is give me errors:
{ "errors": [ { "message": "Field \"geometry\" must not have a selection since type \"GeoJSONGeometryScalar!\" has no subfields.", .... }
It is possible use internal fields from Geometry -> type and coordinates into query ?
Thanks you very much
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello.
I'm trying to use with sdl schema, like this other library -> https://github.com/taion/graphql-type-json#sdl-with-graphql-tools
My graphql sdl is:
and into resolvers.ts
But at graphql explorer can not do query with Geometry fields ->
So is give me errors:
It is possible use internal fields from Geometry -> type and coordinates into query ?
Thanks you very much
The text was updated successfully, but these errors were encountered: