Replies: 2 comments
-
I had the similar issue today too, and tried the following which seemed to work. Basically it seems, you will need to add each entity, but point them at the same source:
It was this file that led me to this. Good luck 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
-
@vrm535 did the above suggestion help to solve the issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team:
I am trying to create DAB layer for my backend CosmosDB. Item collection is a nested JSON object. I created the dab-configuration file with just one entity that is employee and created the graphql schema as shown below.
When I am validating/starting the application, I am seeing the error as Azure.DataApiBuilder.Service.Exceptions.DataApiBuilderException: The entity 'Contact' was not found in the
runtime config.
Could you please guide me here how to deal with this scenario.
GraphQL- schema
type Address {
address1: String
address2: String
city: String
state: Sting
}
type Phone {
home: String
office: String
}
type Contact {
address: Address
phone: Phone
}
type Employee @model {
firstName: String
lastName: String
middleName: String
contact: Contact
}
Beta Was this translation helpful? Give feedback.
All reactions