-
Notifications
You must be signed in to change notification settings - Fork 4
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
Type error when using HotChocolate 13.5 preview #13
Comments
Hi, Thanks for getting in touch and bringing this to my attention. I propose, to release a new version 4.1.0 that would take HC 13.5 as the minimum version with the suggested change as this appears to be a change in the HC API surface. This way pre HC 13.5 can still use the 4.0.x packages while HC 13.5 and onwards can use the 4.1.x packages. Wdyt? If this is not a pressing matter, I will be able to release a new version on Thursday. Adam |
Hi, Version 4.1.0 was released with the mitigation discussed in place. Please find at https://www.nuget.org/packages/DataAnnotatedModelValidations/4.1.0 Adam |
Awesome thank you, the new version works great for me! |
Thank you for your feedback and input! Adam |
I'm getting this error when using this package 4.0.2 with HotChocolate 13.5
the reason for this is because PathFactory was removed in 13.5 here. It looks like the replacement is to use
Path.Root.Append
.I'd be happy to implement the fix, but I'm not sure how to make it backwards compatible with older versions of HotChocolate and this new version that they're working on. Maybe we implement classes for both and pick an implementation based on which version of HotChocolate is loaded at runtime?
The text was updated successfully, but these errors were encountered: