Skip to content

fix mistake in class initialization for ailogic#10570

Open
Berlioz wants to merge 2 commits into
mainfrom
vsfan_ai_logic_iam_again
Open

fix mistake in class initialization for ailogic#10570
Berlioz wants to merge 2 commits into
mainfrom
vsfan_ai_logic_iam_again

Conversation

@Berlioz
Copy link
Copy Markdown
Contributor

@Berlioz Berlioz commented May 27, 2026

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the requiredProjectBindings method in AILogicService from a standard class method to an arrow function property. The reviewer suggested simplifying this change by using an async arrow function, which eliminates the need for explicit property typing and wrapping the return value in Promise.resolve.

Comment thread src/deploy/functions/services/ailogic.ts Outdated
Copy link
Copy Markdown
Contributor

@ajperel ajperel left a comment

Choose a reason for hiding this comment

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

LG. I wish I understood better why this fixes something, but I dont' think it will hurt and there's more important things to focus on.

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