schema_salad
schema_salad copied to clipboard
feature request: `--print-avro` should resolve `extends` references
Hi! Benten relies on the schema to create all the data structures needed to analyze CWL documents. I use the schema in .json
format as generated by --print-avro
. Any references mentioned in any extends
field in a definition I can incorporate if they are to be found in that .json
file somewhere. However I see that some references are not, such as RecordSchema
, InputSchema
and so on. It would be nice if --print-avro
resolved all extends
references or at least placed them in the output .json
. Thanks!
I think that @denis-yuen is the other user of --print-avro
, so I'd want to hear from him. If that doesn't cause him any problems (or we put it under a different flag) then I'd accept a contribution that satisfies this issue.
Hi,
I haven't looked at this in a while, but it sounds like resolving the extends
references would still result in a valid avro schema so that should be fine.
In other words, if we can still do something like this we should be ok.