jberzy

Results 14 comments of jberzy

Hi @roji and @FrancescoSillani, I wrote a typehandler for the original agensgraph (fork rather than extension). https://github.com/johnberzy-bazinga/Npgsql.AgensGraph . I believe the types have changed, but perhaps some parts might still...

Hi @blackdwarf You can thread through an arbitrary value to your resolvers by passing it in when executing the query. e.g.: ```executor.AsyncExecute(..., data=myRootValue)``` this value is then accessible to your...

Hi @cmeeren , I've actually been working on that the last few days. The [Program](https://github.com/fsprojects/FSharp.Data.GraphQL/blob/94d1d19d753ce58e6b7c4fbd3e2db67ca7695a1b/samples/star-wars-api/Program.fs) file is pretty reasonable now. There are a couple things remaining such as WebSocket support,...

@cmeeren, Do you have more info on how I can repro that? Thanks, John

@xperiandri It might be due to the combinations the TP produces when an operation has a lot of optional parameters. Try upgrading to the latest version and set `explicitOptionalParameters` to...

We've thought about this, but we're unsure of the utility of the schema-first approach with type providers. This is primarily because the user still needs to define the resolver for...

@agu-z, Another option is we could always allow for forward declarations of a typedef. e.g.: // User.fs ``` let OrganizationRef = Define.ObjectRef("Organization") let User = Define.Object(... Define.AsyncField("organizations", ListOf OrganizationRef, fun...

It's currently not possible since Type Providers can't accept types as static input. see: https://github.com/fsharp/fslang-suggestions/issues/212 Also, not sure this is desirable as clients would need to take a dependency on...

@nightroman In your scripting scenario, would the host application be able to initialize the executor and have the executor dump the graphql schema as a json file? If that's the...

Can you be more specific? I'm not sure I get the error here. Do you mean you're trying to return an integer from a resolver that is typed to be...