codama-idl / codama

Generate clients, CLIs, documentation and more from your Solana programs
MIT License
73 stars 16 forks source link

Add getOrThrow implementation #39

Closed febo closed 4 months ago

febo commented 4 months ago

This PR adds the implementation for getOrThrow, which seems to be missing. Without this, using defined types as arguments for instructions fails.

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: c5a8411ce2700730abbb678c846941563d8f73b5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages | Name | Type | | ---------------------------- | ----- | | @kinobi-so/visitors-core | Patch | | @kinobi-so/renderers-core | Patch | | @kinobi-so/renderers-js-umi | Patch | | @kinobi-so/renderers-js | Patch | | @kinobi-so/renderers-rust | Patch | | @kinobi-so/validators | Patch | | @kinobi-so/visitors | Patch | | @kinobi-so/renderers | Patch | | kinobi | Patch | | @kinobi-so/nodes-from-anchor | Patch | | @kinobi-so/errors | Patch | | @kinobi-so/node-types | Patch | | @kinobi-so/nodes | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR