'GraphQL typedef for JSONLD from mongodb not working
I'm working in jsonld data and it contains following data
'schema:description': some String value,
'schema:license': some String value,
'sosa:Platform': some String value,
'adiiot:MicrophoneID': some String value,
this is the jsonld data we are using for our app but we are facing issue while defining the typedefs for graphql but not able to set a type for jsonld key containg : in between please help me how i can define keys in typedef so i can fetch this data through graphql.
this is typedef im trying for this data
type Data {
_id: String
}
type Query {
hello: String
getAllPosts: Data
# getPost(id: ID): Post
}
i'm using nodejs and appollo-graphql-server is their any way i can access jsonld data and show in graphql.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
