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

Fix: use bidder info fs config as base when merging overrides #3289

Merged

Conversation

bsardo
Copy link
Collaborator

@bsardo bsardo commented Nov 13, 2023

This is one way we can fix the bidder info config override logic issue where information in the base config (file system) is lost when override data is provided (pbs.yaml, env vars, etc). This implementation avoids a previously discussed approach of changing bools to bool pointers and instead mimics an approach taken to handle aliases where a nillable fields struct is introduced to assist in detecting the presence of certain fields in an override config.

Some of the team met this morning and agreed to favor this approach over the pointer approach.

@bsardo bsardo changed the title Fix bidder info overrides nillable struct Fix: use file system bidder info config as base option 1 Nov 13, 2023
@bsardo bsardo changed the title Fix: use file system bidder info config as base option 1 Fix: use file system bidder info config as base (option 1) Nov 13, 2023
@bsardo bsardo marked this pull request as ready for review November 13, 2023 14:52
@bsardo bsardo changed the title Fix: use file system bidder info config as base (option 1) Fix: use bidder info fs config as base when merging overrides Nov 13, 2023
Copy link
Collaborator

@hhhjort hhhjort left a comment

Choose a reason for hiding this comment

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

LGTM

@bsardo bsardo merged commit f52dbb1 into prebid:master Nov 14, 2023
3 checks passed
svamiftah pushed a commit to sovrn/prebid-server that referenced this pull request Nov 21, 2023
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.

3 participants