Back with a few more migration questions. I’ve finally been able to get back to migration from 2 to 3 and have things building but there are quite a few things I wasn’t able to find any documentation on migration for and there are some things that appear to maybe not be working as intended. For reference I’m using beta03. The 2 things I’m looking to solve now at the moment are:
What is the replacement for
useHttpGetMethodForPersistedQueries? I thought that maybe an
HttpInterceptorwas the right way to go to force Post as opposed to passing false for those 2 legacy methods but unfortunately that doesn’t appear to be working. The next thing I’ll look to do is set the
ApolloRequestas it seems like that should be able to dictate the method used. But I’m more just curious if there is something I’m missing here or if
ExecutionContextis indeed the correct way to go about this now.
The other thing that has me is custom scalars. As per the the migration guide I’ve updated gradle to use
customScalarsMappingbut I get errors about my custom scalars not being mappable to the type I’ve set there. For reference we are migrating 2 different types to a String. I see in the v2 docs that maybe we should have been setting a
CustomTypeAdapterbut we never did so and things still worked. I’m assuming we just need to
There are other things as well that I’m going to need to track down that I haven’t quite gotten to yet like batching so I think a bigger/better question to ask here to avoid coming back with more questions is if there is any resource for documentation/migration that I should be using. I have been referencing the docs and release notes but I feel like there is a bit of a gap in either documentation or knowledge on my end on how to find the correct resources. In fairness I’m far from an expert in this realm but any advice to help teach me how to fish would be very appreciated.