Merged
Conversation
68f05cd to
c2407b4
Compare
231d95d to
db42e20
Compare
tusharmath
reviewed
Oct 13, 2023
src/config/config.rs
Outdated
Comment on lines
+277
to
+280
| pub fn merge_right(&mut self, other: Self) -> Self { | ||
| self.types.extend(other.types); | ||
| self.clone() | ||
| } |
Contributor
There was a problem hiding this comment.
Suggested change
| pub fn merge_right(&mut self, other: Self) -> Self { | |
| self.types.extend(other.types); | |
| self.clone() | |
| } | |
| pub fn merge_right(mut self, other: Self) -> Self { | |
| self.types.extend(other.types); | |
| self | |
| } |
tusharmath
reviewed
Oct 13, 2023
src/config/server.rs
Outdated
Comment on lines
+52
to
+53
| pub(crate) fn merge_right(self, other: Self) -> Self { | ||
| let mut merged = self.clone(); |
Contributor
There was a problem hiding this comment.
Suggested change
| pub(crate) fn merge_right(self, other: Self) -> Self { | |
| let mut merged = self.clone(); | |
| pub(crate) fn merge_right(mut self, other: Self) -> Self { | |
| let mut merged = self; // inline merged |
tusharmath
reviewed
Oct 13, 2023
src/config/server.rs
Outdated
Comment on lines
+144
to
+146
| pub fn merge_right(self, other: Self) -> Self { | ||
| let mut merged = self.clone(); | ||
| merged.allowed_headers = other.allowed_headers.map(|other| { |
Contributor
There was a problem hiding this comment.
Suggested change
| pub fn merge_right(self, other: Self) -> Self { | |
| let mut merged = self.clone(); | |
| merged.allowed_headers = other.allowed_headers.map(|other| { | |
| pub fn merge_right(mut self, other: Self) -> Self { | |
| let mut merged = self; | |
| merged.allowed_headers = other.allowed_headers.map(|other| { |
tusharmath
approved these changes
Oct 13, 2023
digital-phoenix
pushed a commit
to digital-phoenix/tailcall
that referenced
this pull request
Oct 15, 2023
* commit '69814ec785fef5d5cf3d4ba925a4910e0a09715e': refactor: use default batch settings if group_by is used (tailcallhq#497) refactor: use blueprint server throughout (tailcallhq#495) feat: hostname config in server (tailcallhq#493) Load YAML & JSON formats via CLI (tailcallhq#467) fix(deps): update rust crate regex to 1.10.1 (tailcallhq#491) fix(deps): update rust crate async-trait to 0.1.74 (tailcallhq#492) feat: support custom-headers (tailcallhq#455) fix: n + 1 issue (tailcallhq#487) fix: mandatory file path refactor: drop key from group by (tailcallhq#484) feature: load multiple configs via CLI (tailcallhq#482) feat: merge right on config (tailcallhq#476) doc: example update fix: upstream setting keys should be optional (tailcallhq#474) refactor: prerequisite to test multi sdl (tailcallhq#475) refactor: use btreeset where duplicates are not allowed (tailcallhq#478) fix: info loss in const serialisation (tailcallhq#477) feat: support to configure http settings (tailcallhq#388)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #468
Build & Testing:
cargo testsuccessfully../lint.shto address and fix linting issues.Checklist: