You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example if the values after doc["data"]["monitors"] are required (e.g. an array of TYPE_ONE and TYPE_TWO objects) this statement won't find the correct key root_key plural: "monitors", singular: "monitors", scopes: [:read]
The ability to set another level of root keys such as the following would be great: root_key_1 plural: "data", singular: "data", scopes: [:read] root_key_2 plural: "monitors", singular: "monitor", scopes: [:read]
Alternatively to have the root key be able to start multiple levels into the json (although then there might be problems with similarly named keys)
The text was updated successfully, but these errors were encountered:
Maybe there's a better way to handle this, but right now it seems a root key that's multiple levels down is inaccessible. See this example json:
For example if the values after doc["data"]["monitors"] are required (e.g. an array of TYPE_ONE and TYPE_TWO objects) this statement won't find the correct key
root_key plural: "monitors", singular: "monitors", scopes: [:read]
The ability to set another level of root keys such as the following would be great:
root_key_1 plural: "data", singular: "data", scopes: [:read]
root_key_2 plural: "monitors", singular: "monitor", scopes: [:read]
Alternatively to have the root key be able to start multiple levels into the json (although then there might be problems with similarly named keys)
The text was updated successfully, but these errors were encountered: