Skip to content

Conversation

@laurensiusadi
Copy link
Contributor

When building typed client from backend, if any service have custom methods on it, the client typescript will pick up as error "Can not apply hooks".

To fix this issue I added filtering to make sure the method is available as function.
I ran this feathers locally, bundle client, and test it on client, it works as a fix.

Fixes issue #3576

Filter hook methods to include only those that are functions to prevent error "Can not apply hooks" in the typed client
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.

1 participant