-
Notifications
You must be signed in to change notification settings - Fork 90
Closed
Labels
comp-jans-cedarlingTouching folder /jans-cedarlingTouching folder /jans-cedarlingkind-bugIssue or PR is a bug in existing functionalityIssue or PR is a bug in existing functionality
Milestone
Description
Describe the bug
When creating a resource entity with type record, cedarling throws an error.
Schema of entity:
{
"shape": {
"type": "Record",
"attributes": {
"header": {
"type": "Record",
"attributes": {
"Accept": {
"type": "EntityOrCommon",
"required": false,
"name": "String"
}
}
},
"url": {
"type": "EntityOrCommon",
"name": "Url"
}
}
}
}
Input:
{
"header": {
"Accept": "test"
},
"url": {
"host": "protected.host",
"path": "/protected",
"protocol": "http"
}
}
The following exception is thrown:
"could not create resource entity: could find record/type: Jans::Record"
Expected behavior
I should be able to create a resource entity of type record
Metadata
Metadata
Assignees
Labels
comp-jans-cedarlingTouching folder /jans-cedarlingTouching folder /jans-cedarlingkind-bugIssue or PR is a bug in existing functionalityIssue or PR is a bug in existing functionality