Skip to content

Add netsblox_macros (for Witness macro)#247

Draft
brollb wants to merge 2 commits intomainfrom
witness-macro
Draft

Add netsblox_macros (for Witness macro)#247
brollb wants to merge 2 commits intomainfrom
witness-macro

Conversation

@brollb
Copy link
Collaborator

@brollb brollb commented Apr 1, 2024

WIP add macro so you can do things like

#[derive(Witness)]
pub(crate) struct EditGallery {
  pub(crate) gallery: Gallery,
}

and it should be only able to be instantiated in that module (except if cfg(test) in which case a factory method is exposed).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant