specification icon indicating copy to clipboard operation
specification copied to clipboard

Translate examples from JSON to YAML in 1.0.0-alpha1 DSL

Open cdavernas opened this issue 1 year ago • 2 comments

What would you like to be added:

Translate/optimize pre 1.0.0-alpha1 examples.

Examples, like everything else, should be written in YAML, for the sake of readability and to leverage at best the new syntax.

Why is this needed:

Provide, in addition to /ctk/features a good variety of examples.

cdavernas avatar May 22 '24 15:05 cdavernas

Depends on:

  • #861

ricardozanini avatar May 28 '24 21:05 ricardozanini

@cdavernas I think we can slowly add examples to the examples dir as we progress fixing schema bugs like in #863.

I'll hold this for now once we create a tool to migrate from version 0.8 to 1.0.0. So we can use the former examples to test the tooling. :)

ricardozanini avatar May 29 '24 17:05 ricardozanini

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Aug 04 '24 00:08 github-actions[bot]

@ricardozanini @JBBianchi @fjtirado the examples we have introduced should fo the trick, right? If so, can I close as completed?

cdavernas avatar Aug 04 '24 00:08 cdavernas

@cdavernas In my opinion, we can close that one and add additional examples as we see fit. Maybe, we can add one that use more complex jq expressions, but I understand thats also controversial, becuase JQ is just one expression language and this is not a jq tutorial

fjtirado avatar Aug 05 '24 10:08 fjtirado

We can close this. As soon as I start working on the migration tool, I can revisit the old samples in the 0.9 branch.

ricardozanini avatar Aug 06 '24 21:08 ricardozanini