-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
context.fragmentMatcherFunction is not a function #2247
Comments
@jaydenseric interesting! Do you have a small app I can take a look at! I'll try to figure out what's happening |
This was encountered on our main project and is blocking the v2 upgrade. I don't have a small demo project handy, sorry. I am quite sure the issue is with v2 though since everything is fine on v1. |
@jaydenseric how are you setting up the FragmentMatcher? With the cache constructor? Can you share any of that code? I'd love to figure this out and get it fixed for you ASAP! |
@jaydenseric I think I see the issue! I'll publish a fix for it and let you know when to try it out! |
@jbaxleyiii awesome, I am reapplying the v2 update now, so hopefully will be ready to try the fix in the next few minutes. |
Fixed with #2281 It should be on the cc @jaydenseric cutting a beta now! |
@jaydenseric try |
@jbaxleyiii everything looks fine 😍 I am using a custom Want to talk about that some time BTW. It would be great if |
@jaydenseric I'd LOVE to hear more about it! |
@jbaxleyiii here is a gist, with a few minor simplifications from what we are using in our app. Happy to talk it though or even screenshare our setup. |
@jaydenseric cool solution! |
Using the latest betas for v2, when using
IntrospectionFragmentMatcher
I get thenetworkError
TypeError: context.fragmentMatcherFunction is not a function
.Only pages that have interfaces/union queries on them cause this error, other pages are fine.
Version
The text was updated successfully, but these errors were encountered: