Alexander Ryzhikov
Alexander Ryzhikov
Hey, error clearly states that your mutation is called `clicks` which comes from `schema.graphql` file ``` type Mutation { click(payload: String!): Click! } ``` Do you want to fix readme?
@idkjs ``` include SchemaTypes_builder.MakeSchema({ module Scalars = {type click;}; type resolver('parent, 'payload, 'fieldType, 'result) = ('parent) => Js.Promise.t('result); type directiveResolver('payload); }); ``` You created abstract type `click`, please check readme...
@ealush thanks for your kind words :) I am definitely keen to improve vest's TS story! I've been thinking about factory but this probably defeats tree shaking, so i've opted...
So basically what I did in the patch? My original patched version was exactly `Field extends string` everywhere but i've removed string so I can force it to be unknown/never...
+1 for Js.Nullable it also aligns well with Bucklescript 4.0.0 runtime representation for optionals. None -> undefined Some(null) -> null Some("string") -> "string"
how I see this mode: - outputs js (current untyped mode) - outputs typescript interface files (similar to typescript printer, but slightly different syntax and only types ofc) I print...
Thanks for the fast reply, I was using this as a reference: ```ts new URLSearchParams('=1').getAll('') // ['1'] ``` Our use case is that we need to evaluate user input in...
Great! i will open a pr then soon and we can continue there 🙏
@ljharb opened #433 👍
@ygrek Hi! Huge thanks for this project! Any update on this?