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

feat(engine): support imperative wire adapters #5132

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aheber
Copy link

@aheber aheber commented Jan 13, 2025

Details

Expand the allowed types for wire decorators to support objects that have an adapter prop holding the WireAdapterConstructor. Examples of this being Apex functions imported from the Salesforce platform. They are function objects that can be called imperatively and also have an adapter prop holding a compatible WireAdapterConstructor that can be passed to the wire decorator.

Does this pull request introduce a breaking change?

  • 😮‍💨 No, it does not introduce a breaking change.

Does this pull request introduce an observable change?

  • 🔬 Yes, it does include an observable change.

Expand the type compatibility for the wire decorator to allow a wire adapter constructor delivered as a prop. This should only expand the allowed types, not constrain them and shouldn't result in any breaks for consumers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant