nautilus-project/nautilus

Default instructions macro attribute should add this instruction to the program's instructions & IDL

buffalojoec opened this issue · 0 comments

When you add default instructions to your struct, like so:

#[derive(nautilus::Table)]
#[default_instructions(
   Create, Delete, Update
)]
struct Person {}

these instructions should automatically be written to the generated tokens & IDL