Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(recipe): use ${} as reference syntax #358

Merged
merged 5 commits into from
Jan 10, 2024
Merged

feat(recipe): use ${} as reference syntax #358

merged 5 commits into from
Jan 10, 2024

Conversation

donch1989
Copy link
Member

Because

  • Originally, we had two syntax options: {} and {{}} for reference and string literals (Liquid template). There were two main problems:
    1. Users were easily confused by these two, and Liquid template is actually not a must-have feature in component input.
    2. We would encounter syntax conflicts when trying to input a JSON string.

This commit

  • Uses ${} as the reference syntax to avoid conflict with JSON string.
  • Updates the condition syntax to use ${} as well.

Copy link

linear bot commented Jan 10, 2024

Copy link

codecov bot commented Jan 10, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (81cd1d8) 0.00% compared to head (b98eaa8) 0.71%.

Files Patch % Lines
pkg/service/openapi.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           main    #358      +/-   ##
=======================================
+ Coverage      0   0.71%   +0.71%     
=======================================
  Files         0       8       +8     
  Lines         0    2950    +2950     
=======================================
+ Hits          0      21      +21     
- Misses        0    2929    +2929     
Flag Coverage Δ
unittests 0.71% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@donch1989 donch1989 merged commit f86fae1 into main Jan 10, 2024
11 checks passed
@donch1989 donch1989 deleted the huitang/ins-2629 branch January 10, 2024 18:53
jvallesm pushed a commit that referenced this pull request Jan 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.20.0-beta](v0.19.0-beta...v0.20.0-beta)
(2024-01-15)


### Features

* inject mgmt_backend address into connector configuration
([ca2586c](ca2586c))
* **recipe:** use `${}` as reference syntax
([#358](#358))
([f86fae1](f86fae1))
* remove controller-vdp
([#354](#354))
([afc3d21](afc3d21))
* support `q` filter for fuzzy search on `id`
([#360](#360))
([ec3b439](ec3b439))
* support dynamic connector and operator definition
([#359](#359))
([1485877](1485877))
* support filter pipelines with visibility
([#357](#357))
([499b112](499b112))


### Bug Fixes

* fix condition field not working when component name has `-`
([#362](#362))
([92682ce](92682ce))
* fix wrong global reference for Numbers connector
([#363](#363))
([5c5eda8](5c5eda8))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
donch1989 pushed a commit that referenced this pull request Jan 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.20.0-beta](v0.19.0-beta...v0.20.0-beta)
(2024-01-15)


### Features

* inject mgmt_backend address into connector configuration
([ca2586c](ca2586c))
* **recipe:** use `${}` as reference syntax
([#358](#358))
([f86fae1](f86fae1))
* remove controller-vdp
([#354](#354))
([afc3d21](afc3d21))
* support `q` filter for fuzzy search on `id`
([#360](#360))
([ec3b439](ec3b439))
* support dynamic connector and operator definition
([#359](#359))
([1485877](1485877))
* support filter pipelines with visibility
([#357](#357))
([499b112](499b112))


### Bug Fixes

* fix condition field not working when component name has `-`
([#362](#362))
([92682ce](92682ce))
* fix includeDetailInRecipe()
([7d7749b](7d7749b))
* fix wrong global reference for Numbers connector
([#363](#363))
([5c5eda8](5c5eda8))


### Miscellaneous Chores

* release v0.20.0-beta
([f5393ac](f5393ac))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
donch1989 pushed a commit that referenced this pull request Jan 15, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.20.0-beta](v0.19.0-beta...v0.20.0-beta)
(2024-01-15)


### Features

* inject mgmt_backend address into connector configuration
([ca2586c](ca2586c))
* **recipe:** use `${}` as reference syntax
([#358](#358))
([f86fae1](f86fae1))
* remove controller-vdp
([#354](#354))
([afc3d21](afc3d21))
* support `q` filter for fuzzy search on `id`
([#360](#360))
([ec3b439](ec3b439))
* support dynamic connector and operator definition
([#359](#359))
([1485877](1485877))
* support filter pipelines with visibility
([#357](#357))
([499b112](499b112))


### Bug Fixes

* fix condition field not working when component name has `-`
([#362](#362))
([92682ce](92682ce))
* fix includeDetailInRecipe()
([7d7749b](7d7749b))
* fix wrong global reference for Numbers connector
([#363](#363))
([5c5eda8](5c5eda8))


### Miscellaneous Chores

* release v0.20.0-beta
([150c83b](150c83b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants