Skip to content

Commit

Permalink
chore: cleanup codegen (#109)
Browse files Browse the repository at this point in the history
* fix: restructure 'internal' things into an internal module of the code gen route assets, to help with inference etc when used in real projects. Without this, inference would mistakenly find the internal types when looking for query params etc

* feat: do not emit unused makeRouteKey

* chore: changeset
  • Loading branch information
zth authored Oct 17, 2022
1 parent b80a868 commit 9529b95
Show file tree
Hide file tree
Showing 8 changed files with 247 additions and 264 deletions.
5 changes: 5 additions & 0 deletions .changeset/selfish-eels-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"rescript-relay-router": patch
---

Restructure internal types in route codegen so that inference for query params etc works reliably again.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9529b95

Please sign in to comment.