remove of subject.type
#189
Labels
breaking change
Indicates when a PR or issue will have breaking changes
Milestone
subject.type
#189
Why should we remove
subject.type
?subject.type
seems useless, and to create more trouble (for SDK creator, user) that is solve:context.type
,subject.type
alone is not enough{{subject}}
should be consistent between every places and consistent when associated with{{predicate}}
, and converted into different format (snake_came, PascalCase, kebab-case, camelCase) when used in json, java, python,...{{subject}}
and{{predicate}}
from$id
,context.type
, filename (schema, examples) should be doable without ambiguity (=> no_
,-
, case variation into{{subject}}
)subject.type
requires storing additional information into SDK (lookup table, mapping or static field) to be able to set it when generation json in sdkNotes
from @afrittoli
The text was updated successfully, but these errors were encountered: