Skip to content

Unable to add error_map coordinate for properties of nested objects #151

Closed Answered by bhch
ErikKoinberg asked this question in Q&A
Discussion options

You must be logged in to vote

'test-testProp' is not a valid coordinate. We don't use hyphens (-) to join nested coordinates. Instead, we use the section sign (§). This is due to #69.

So the valid coordinate would be 'test§testProp'.

We've got a join_coords utility function to chain the coordinates. You should use that and it will take care of using the appropriate symbol to use for joining.

Another question, does the coordinate system handle keys with spaces inside of them?

Yes.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ErikKoinberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants