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: remove ${[ ]} operator in component reference syntax #383

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

donch1989
Copy link
Member

@donch1989 donch1989 commented Feb 14, 2024

Because

  • Initially, we used the ${[comp.xxx, comp.yyy]} operation to construct an array. However, it was not very straightforward, and we want to keep the syntax as pure as possible, retaining only the variable index ability. Additionally, we plan to use the JSON operator for array construction in the future.

This commit

  • Removes the ${[comp.xxx, comp.yyy]} operation from the component reference syntax.

Copy link

codecov bot commented Feb 14, 2024

Codecov Report

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

Comparison is base (093c11c) 0.69% compared to head (977e8e6) 0.69%.

Files Patch % Lines
pkg/service/openapi.go 0.00% 18 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff          @@
##            main    #383   +/-   ##
=====================================
  Coverage   0.69%   0.69%           
=====================================
  Files          8       8           
  Lines       3033    3003   -30     
=====================================
  Hits          21      21           
+ Misses      3012    2982   -30     
Flag Coverage Δ
unittests 0.69% <0.00%> (+<0.01%) ⬆️

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 marked this pull request as draft February 14, 2024 02:57
@donch1989 donch1989 marked this pull request as ready for review February 14, 2024 03:06
@donch1989 donch1989 merged commit c121da8 into main Feb 14, 2024
17 checks passed
@donch1989 donch1989 deleted the huitang/ins-3656 branch February 14, 2024 03:12
donch1989 pushed a commit that referenced this pull request Feb 16, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.22.0-beta](v0.21.1-beta...v0.22.0-beta)
(2024-02-16)


### Features

* add end-user errors on CreateExecution error
([#380](#380))
([093c11c](093c11c))
* allow the string data to reference all data types that can be
stringified
([#381](#381))
([9342d23](9342d23))
* remove `${[ ]}` operator in component reference syntax
([#383](#383))
([c121da8](c121da8))


### Bug Fixes

* fix reference bug
([#388](#388))
([968c0ec](968c0ec))
* **worker:** fix temporal cloud namespace init
([#387](#387))
([e42cf13](e42cf13))

---
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