juspay / juspay/rescript-bindgen
Question – should the output be 1 file per package?
- Dominant language
- ReScript
- Stars
- 8
- Forks
- 0
- Avg merge
- 9h 33m
- Merged PRs (30d)
- 15
Description
Hey, love this. We'd really like to bring into use at https://github.com/rohea.
However, we have always written bindings as 1 file per package. This is really beneficial for namespacing. I can't see how you would avoid module name conflicts in a large codebase with this lib's current approach of producing 1 module/file per component, and an extra one for types called `DistTypes.res`. Am I missing some expected part of the workflow?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the current output workflow described in the issue: one module/file per component plus DistTypes.res. Determine how package-level files and namespacing should work for large codebases, then document or implement the agreed approach. Done means the module-conflict concern has a clear resolution and the expected output structure is specified.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100