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

di: Drop support for instantiating trait #3200

Closed
xerial opened this issue Sep 7, 2023 · 1 comment
Closed

di: Drop support for instantiating trait #3200

xerial opened this issue Sep 7, 2023 · 1 comment

Comments

@xerial
Copy link
Member

xerial commented Sep 7, 2023

registerTraitFactory doesn't work anymore since Scala 3.3.1:
#3194 (comment)

Two options:

  • Wait until experimental macro becomes stable
  • Find workaround not relying on registerTraitFactory and require using concrete classes for binding
xerial added a commit that referenced this issue Sep 8, 2023
- internal: Upgrade airspec to 23.9.0 (#3193)
- Update scala3-staging, ... to 3.3.1
- deprecate registerTraitFactory #3200 
- Fix grpc tests for Scala 3

---------

Co-authored-by: xerial-bot <[email protected]>
@xerial
Copy link
Member Author

xerial commented Sep 9, 2023

Go with this option in #3202:

Find workaround not relying on registerTraitFactory and require using concrete classes for binding

@xerial xerial closed this as completed Sep 9, 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

No branches or pull requests

1 participant