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

chore: rename to BaseEnvironment #16797

Merged
merged 1 commit into from
May 23, 2024

Conversation

ArnaudBarre
Copy link
Member

@ArnaudBarre ArnaudBarre commented May 22, 2024

No description provided.

Copy link

stackblitz bot commented May 22, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

[...environment].reduce((acc, c) => acc + c.charCodeAt(0), 0) %
environmentColors.length
const infoColor = environmentColors[colorIndex || 0]
this.logger = {
Copy link
Member

Choose a reason for hiding this comment

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

I think we should keep this one lazy as it was before so it is cheaper to create the PartialEnvironment if we don't end up using the logger

Copy link
Member Author

@ArnaudBarre ArnaudBarre May 23, 2024

Choose a reason for hiding this comment

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

I can get it back, but I think this is fine, we will only create this PartialEnvironment a few times in testing and at runtime the logger will probably be used every time

Copy link
Member

Choose a reason for hiding this comment

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

Ok, let's merge it as is and we can later on bring it back if needed

@patak-dev patak-dev merged commit d86553a into v6/environment-api May 23, 2024
8 checks passed
@patak-dev patak-dev deleted the v6/environment-api-base-env branch May 23, 2024 14:03
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.

2 participants