appany / AppAny.HotChocolate.FluentValidation

Input field HotChocolate GraphQL + FluentValidation integration
MIT License
71 stars 16 forks source link

Update HotChocolate to 13.0.0-preview.95 #105

Closed glen-84 closed 1 year ago

glen-84 commented 1 year ago

HotChocolate 13 preview 91 broke this library, due to changes with type interceptors. The extension methods on IRequestExecutorBuilder seem to have been removed, and there doesn't appear to be a DelegateSchemaInterceptor anymore.

I've replaced the static interceptor methods with a class extending TypeInterceptor.

  1. Is the ValidationDefaults stuff correct?
  2. I had to comment-out the Fairybread code in the benchmarks – how should that be handled?
sergeyshaykhullin commented 1 year ago

@glen-84 Thank you for this fix, i will release new version soon