This might be a bit hard to review/overview, but essentially what I've done is I've added a few unsafe things to the internal generated route code, that allow us to draw down the generated code size by a lot. This should still be safe for anyone using the router, since the unsafe code isn't exposed in any way to the outside.
Closes https://github.com/zth/rescript-relay-router/issues/9
This might be a bit hard to review/overview, but essentially what I've done is I've added a few unsafe things to the internal generated route code, that allow us to draw down the generated code size by a lot. This should still be safe for anyone using the router, since the unsafe code isn't exposed in any way to the outside.
I guess this says it all:
😄