Obtain name from SchemaObject; otherwise, keep existing default subtype_{idx} - #912
Obtain name from SchemaObject; otherwise, keep existing default subtype_{idx}#912dpezely wants to merge 1 commit into
subtype_{idx}#912Conversation
|
Can you add a test that demonstrates this in action? |
|
Short version: a minimal repo with a canary test that exercises this PR is mnx-canary. Long version:
|
3f98086 to
ac599b5
Compare
|
So this is going to improve things... but the handling of the anyOfs is still fundamentally broken (my fault--not yours). If this would be useful to you I'll have an LLM make some tests, but if and when we actually deal with anyOfs properly, we'll probably change all of this. |
|
Yes, it would be useful. The JSON schema for MNX makes heavy use of it. The W3C Community. working group has been very active adding to their schema, and it's been many months since I've attempted processing it. Let me update my canary repo-- hopefully this weekend or next. I'll post an update here. Thank you! PS - also updated link to their schema in initial post above due to W3C website reorg |
Where existing behavior renders field names as
subtype_0, this PR extracts a name from the relevant SchemaObject, when available.subtype_0through_4in the resulting.rsfileEDIT: revised URI under link, as W3C has separated official versus Community Groups