Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Jab", null)] | ||
| internal | ||
| #endif | ||
| delegate T Resolve<T>(string name); |
There was a problem hiding this comment.
Make Resolve delegate parameterless
Resolve<T> is declared with a string name parameter, identical to NamedResolve<T>, even though the generator emits the delegate for unnamed services and never forwards a name (see the lambda _ => GetService<T>()). As a result, consumers must supply a dummy string argument (resolver("ignored")) and cannot use the natural parameterless invocation (resolver()), and any name they pass is silently ignored. This makes the new API unusable for its intended lazy resolution scenario and will fail to compile in typical usage.
Useful? React with 👍 / 👎.
Summary
Testing
Codex Task