Replies: 4 comments 16 replies
-
|
Great question - I don't think V2 supports this but it's good timing for me to add this into v3. Is there a preferred syntax for this call? (You can see the v3 syntax at daseldocs.tomwright.me). |
Beta Was this translation helpful? Give feedback.
-
So e.g.
|
Beta Was this translation helpful? Give feedback.
-
|
Hey Tom, I had a quick chat with the Vale maint the other week, and he intended to upgrade to v3 Dasel once it was released/stable. Do you have a roadmap for when you plan to do this? If it requires e.g. testing and documentation work, can I help contribute? |
Beta Was this translation helpful? Give feedback.
-
|
Hey @osfameron , Just wanted to let you know that I've updated the documentation on using dasel as a go package. We now have:
Some more niche points such as variable injection aren't covered in the documentation, but if you have any specific questions on how the latest version can be integrated with Vale please let me know. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm parsing OpenAPI docs and want to look for
.nameor.descriptionfields at any level using https://vale.sh/docs/views (which currently uses dase 2.8.1).Because OpenAPI .yml files can include other files using
$ref, the fields can be at any level.In e.g. Yq I'd use something like recursive descent glob https://mikefarah.gitbook.io/yq/operators/recursive-descent-glob
It looks like dasel v1 had this feature with https://daseldocs.tomwright.me/v1/selectors/search
I don't see how to recreate that using the available v2 operators. Has this feature been removed?
Beta Was this translation helpful? Give feedback.
All reactions