Commit 36685c7
committed
feat: partial support for resources
This adds support for resources to gravity. It's a pretty huge change
and I'm not sure it's ready for review yet (or maybe ever), but it's a
decent PoC. Much of the code was written by Claude with a huge amount of
guidance, so it will probably need some cleanup.
The main limitations are a lack of support for 'owned' resources as
parameters because it involves a lot of complexity re. tracking
ownership of resources. Even so this is quite useful for many things.
Relates to arcjet#5.1 parent cf16cfc commit 36685c7
File tree
21 files changed
+3367
-121
lines changed- cmd/gravity/src
- codegen
- go
- examples
- resources-simple
- src
- wit
- resources
- src
- wit
21 files changed
+3367
-121
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
0 commit comments