Fabio Massaioli
45b2681dfc
[v3] Fix binding generator output and import paths ( #3334 )
...
* Fix relative import path computation
* Fix models output path
* Add option to generate bindings using bundled runtime
* Update binding example
* Fix testdata
* Update changelog
---------
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2024-03-22 21:18:04 +11:00
Lea Anthony
2bb25b12ff
Update bindings generator to generate bindings in packages and files.
...
Remove unused JavaScript files
Update tests.
Update v3 docs
2023-12-22 20:01:42 +11:00
Lea Anthony
cdf4bdd2ba
Support generating enums from imported package
2023-12-20 08:06:35 +11:00
Lea Anthony
182f43004a
Improved bindings generation: support JS Models.
2023-12-16 14:02:19 +11:00
Lea Anthony
4b04c10f14
Support bindings, model & enum generation
2023-12-12 21:51:40 +11:00
Adam Tenderholt
130fab6c01
Feature/v3 parser: expand TS model generation tests & some fixes ( #2485 )
...
* v3 parser: add tests for model generation
* v3 parser: use single quotes for got model.ts
* v3 parser: fixes for some failing tests
* v3 parser: misc simplification and cleanup
* v3 parser: fix model tests when no structs returned
* v3 parser: fix last failing test case
* Update contributors list
* v3 parser: update README
* Revert "Update contributors list"
This reverts commit f429d2ba89
.
* Changelog: add line about my contribution
2023-03-25 10:09:17 +11:00
Lea Anthony
26530a0f5a
Fix reserve word check.
...
Add model generation.
Warn if field is unexported in the Go struct
2023-03-07 19:48:30 +11:00
Lea Anthony
7340247e25
Create bindings file per package
...
Improved bindings tests
2023-03-07 18:22:33 +11:00
Adam Tenderholt
da90e74268
v3 parser: initial work on model generation w/ templates ( #2428 )
...
* v3 parser: initial work on model generation w/ templates
* v3 parser: expand models to namespaces
2023-02-28 20:35:18 +11:00
Lea Anthony
e1279a054f
[v3] Improved parser for bound structs
2023-02-17 20:57:31 +11:00
Lea Anthony
81645190f0
merge exp branch
2023-01-18 21:42:49 +11:00