Update pattern for FullyQualifiedReference in schema#220
Update pattern for FullyQualifiedReference in schema#220FriedrichBu wants to merge 5 commits intobitol-io:devfrom
Conversation
This is it... release to v3.1.0
YAML-Files not only have the filename extension .yaml, but also .yml. Thus, it'd make sense to include .yml as valid filename extenstion in the reference schema
|
Hey @FriedrichBu , thanks for raising the PR. Looks like we could put this into a patch release of ODCS. Can you make the PR to |
|
This also perhaps raises another question about whether we want to restrict file name extensions to also include |
jgperrin
left a comment
There was a problem hiding this comment.
I am definitely not the person to review regex ;)
|
Agree on adding |
|
Hi @pflooky, |
`\\.ya?ml#` is cleaner & shorter than `\\.(?:yaml|yml)#`
`\\.ya?ml#` is cleaner & shorter than `\\.(?:yaml|yml)#`
|
@pflooky, I have been thinking about We can add If yes, a bigger change would be required to split the variants that are possible before
to enable |
|
I further noticed that from external references: file:///path/to/data-contract-v1.yamlis currently not allowed by the pattern. So in total: With distunigshing |
|
Can we merge or close this one? |
YAML-Files not only have the filename extension
.yaml, but also.yml. Thus, it'd make sense to include.ymlas valid filename extention as well in the reference schema.