sainthkh / reasonql

Type-safe and simple GraphQL library for ReasonML developers.
MIT License
96 stars 5 forks source link

Custom scalar support #9

Closed c19 closed 5 years ago

c19 commented 5 years ago

read custom scalar from ast. wrap decode/encode around decode/encode. config file insert field to add anything to generated file. like insert: "include CustomTypes;" CustomTypes.re includes the decode/encode for the types.

see snippets/custom-scalar for example

sainthkh commented 5 years ago

Thank you for PR.

It seems that the work is going on. When it's done, please leave me a comment that it's done.

I'll merge and release a new version.

c19 commented 5 years ago

It's done. note that send function is changed to add headers parameters.

sainthkh commented 5 years ago

Merged and published. Thanks.