Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New schema format #2206

Draft
wants to merge 55 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
3cdf3b2
New schema format
aumetra Aug 12, 2024
e4fba7f
Extend proc-macro functionality, add derives to std
aumetra Aug 19, 2024
abaed01
Add rename_all support
aumetra Aug 19, 2024
f34ab22
Deduplicate a little
aumetra Aug 20, 2024
00865e0
Add warnings for unknown serde attributes
aumetra Aug 20, 2024
9e971d6
Add rename option and option to mute warnings
aumetra Aug 21, 2024
c4aa695
Add to `cw_serde`
aumetra Aug 21, 2024
e0af552
Add codegen for cw_schema
aumetra Aug 26, 2024
d392b72
Remove unused dependency
aumetra Aug 26, 2024
571df77
Merge branch 'main' into aw/new-schema
aumetra Aug 26, 2024
9dacb7a
Update lockfiles
aumetra Aug 26, 2024
1259017
Fix doctests
aumetra Aug 26, 2024
59deef9
Add missing derives
aumetra Aug 26, 2024
244cea9
Use `TypeId` internally
aumetra Aug 27, 2024
b960a0d
Allow non-static types to implement the schema
aumetra Aug 27, 2024
34e87ce
Add test for same name in different modules
aumetra Aug 27, 2024
1101aa8
Add some debug assertions
aumetra Aug 27, 2024
9a4bebe
Add non-static lifetime snapshot test
aumetra Aug 27, 2024
4fbc80b
Add explanation of the hack
aumetra Aug 27, 2024
8b209cf
Add impl to write new schema format
aumetra Sep 2, 2024
275784b
Regenerate all schemas
aumetra Sep 2, 2024
b4b7b2b
Allow clippy lint
aumetra Sep 2, 2024
0e7480c
Merge branch 'main' into aw/new-schema
aumetra Oct 1, 2024
286cabd
Fix CI
aumetra Oct 1, 2024
1b337d6
[autofix.ci] apply automated fixes
autofix-ci[bot] Oct 1, 2024
bf43ec3
Initial codegen tool
aumetra Oct 7, 2024
4ee73cb
Merge branch 'main' into aw/new-schema
aumetra Oct 8, 2024
27d31ad
[autofix.ci] apply automated fixes
autofix-ci[bot] Oct 8, 2024
10ee9fa
Add enum codegen
aumetra Oct 8, 2024
14add23
Add some templates
aumetra Oct 15, 2024
63d647d
Merge branch 'main' into aw/new-schema
aumetra Oct 24, 2024
2780474
Fix enum templates
aumetra Oct 24, 2024
30b0d91
Add struct codegen
aumetra Oct 24, 2024
9855d42
PoC Rust codegen
aumetra Oct 25, 2024
2b560a2
Slight refactor
aumetra Oct 28, 2024
db942c0
Add serde renames for prettier enums
aumetra Oct 28, 2024
f7f5672
Fix Rust enums, add dummy modules for other languages
aumetra Oct 30, 2024
f93d67c
WIP TypeScript codegen
aumetra Oct 30, 2024
386a467
Export enum type in TypeScript
aumetra Oct 30, 2024
08d06c4
Deserialize the full CosmWasm API definition
aumetra Nov 4, 2024
5b7caf0
Add some TypeScript snapshots
aumetra Nov 12, 2024
d91cd1b
More robust non-static type equality
aumetra Nov 12, 2024
4de3214
Add TypeScript compile checks
aumetra Nov 12, 2024
6c6e2ad
feat: Python codegen init
kulikthebird Nov 6, 2024
fc49079
feat: Add Python codegen
kulikthebird Nov 8, 2024
2a737c8
chore: Replace dataclasses and dataclasses_json with pydantic
kulikthebird Nov 22, 2024
126b2b7
TypeScript E2E tests
aumetra Nov 25, 2024
777aca3
chore: Add tests and validate schemas
kulikthebird Nov 26, 2024
dcbc887
Fix TypeScript codegen
aumetra Nov 27, 2024
4e8d217
Add polyfill types to Rust codegen
aumetra Nov 27, 2024
1b38229
Use TypeScript polyfill
aumetra Nov 27, 2024
285abd6
chore: Remove python playground
kulikthebird Nov 27, 2024
297b70e
Merge pull request #2295 from CosmWasm/tkulik/python_codegen
aumetra Dec 2, 2024
6801e88
Fix up a few things
aumetra Dec 2, 2024
f3f338c
Add some Go codegen
aumetra Dec 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
543 changes: 492 additions & 51 deletions Cargo.lock

Large diffs are not rendered by default.

191 changes: 175 additions & 16 deletions contracts/burner/Cargo.lock

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

Loading
Loading