You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the same way to name files in examples & schema, both with _ as separator (snake_case format) : {{subject}}_{{predicate}}.json
Questions
Why not add a number (2 digit) into examples to have the possibility to provide several samples {{subject}}_{{predicate}}_{{number}}.json (e.g. pipelinerun_finished_01.json)
From a spec point of view it has a very small impact, but it has ramifications on logic spread across various repos:
A CI job in the spec repo itself that checks examples against schemas
Scripts in the tools folder in the spec repo that help with managing versions
The logic in the cdevents.dev repo that publishes the schemas on the website
-The logic in the various SDKs (go, java, rust and maybe python) that use the spec as a submodule and generate code from the schemas
The text was updated successfully, but these errors were encountered:
Use the same way to name files in examples & schema, both with _ as separator (snake_case format) :
{{subject}}_{{predicate}}.json
Questions
{{subject}}_{{predicate}}_{{number}}.json
(e.g.pipelinerun_finished_01.json
)Notes
from @afrittoli
The text was updated successfully, but these errors were encountered: