Skip to content

"Can't bind to 'queryParams' since it isn't a known property of 'a'" despite using createRoutingFactory #486

Discussion options

You must be logged in to vote

I think I found the cause of the issue:
The routerLinkDirective stub doesn't have all the inputs from the official component
https://github.com/ngneat/spectator/blob/master/projects/spectator/src/lib/spectator-routing/router-link-stub.ts

queryParams, however, is one of those inputs
https://github.com/angular/angular/blob/master/packages/router/src/directives/router_link.ts#L19-L243

so this might be need to be turned into an issue ?

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by AnthonyLenglet
Comment options

You must be logged in to vote
2 replies
@AnthonyLenglet
Comment options

@AnthonyLenglet
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants