zth / rescript-relay-router

MIT License
16 stars 3 forks source link

chore: cleanup codegen #109

Closed zth closed 2 years ago

zth commented 2 years ago

Some cleanup and restructuring of the internal codegen for routes. Moves internal types etc to a local Internal module, so it a) does not confuse the developer for something they're actually supposed to use, and b) does not interfere with inference for things like query params when opening a route module.

There's more clean up to do, but trying to keep changes small and incremental for now.