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

Release 2.1.0 #750

Merged
merged 1 commit into from
Aug 9, 2022
Merged

Release 2.1.0 #750

merged 1 commit into from
Aug 9, 2022

Conversation

localvar
Copy link
Collaborator

@localvar localvar commented Aug 9, 2022

No description provided.

@@ -76,7 +76,7 @@ func (b *Builder) build(data map[string]interface{}, v interface{}) error {
return err
}

return codectool.Decode(&result, v)
return yaml.Unmarshal(result.Bytes(), v)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's consistent to use codecool.UnmarshalYAML in case of replacing the vendor in one time and one place.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I will switch to that function.

Headers map[string][]string `json:"headers" jsonschema:"omitempty"`
Body string `json:"body" jsonschema:"omitempty"`
FormData map[string]field `json:"formData" jsonschema:"omitempty"`
Method string `json:"method" yaml:"method" jsonschema:"omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The megaease dedicated yaml vendor will use json tag if there is no yaml tag.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think making it explicit would be better because this is a "YAML in YAML" case.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, would you mind adding a line of comment about it

@suchen-sci
Copy link
Contributor

no release note and change log...

@codecov-commenter
Copy link

Codecov Report

Merging #750 (4e0e2bf) into main (870b7ff) will decrease coverage by 0.15%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #750      +/-   ##
==========================================
- Coverage   80.49%   80.33%   -0.16%     
==========================================
  Files          97       97              
  Lines       10785    10785              
==========================================
- Hits         8681     8664      -17     
- Misses       1619     1631      +12     
- Partials      485      490       +5     
Impacted Files Coverage Δ
pkg/protocols/httpprot/request.go 80.32% <ø> (ø)
pkg/filters/builder/builder.go 92.50% <100.00%> (ø)
pkg/cluster/cluster.go 59.57% <0.00%> (-1.59%) ⬇️
pkg/filters/validator/basicauth.go 77.41% <0.00%> (-1.39%) ⬇️
pkg/object/mqttproxy/client.go 81.61% <0.00%> (-0.90%) ⬇️
pkg/filters/proxy/pool.go 76.73% <0.00%> (-0.72%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@xxx7xxxx xxx7xxxx merged commit 95c4eaa into easegress-io:main Aug 9, 2022
@localvar localvar deleted the release-2.1.0 branch August 9, 2022 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants