Skip to content

Conversation

@h-michael
Copy link
Member

feature #77

let module_visibility = match module_visibility {
Some("pub") => syn::VisPublic { pub_token: <Token![pub]>::default() }.into(),
Some("private") => syn::Visibility::Inherited {},
_ => syn::VisPublic { pub_token: <Token![pub]>::default() }.into(),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restricted(VisRestricted) needs complex variables.
So I implement pub and private at first for cli.

Copy link
Member

@tomhoule tomhoule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for implementing this!

@tomhoule
Copy link
Member

We just need a rebase and this will be merged.

@h-michael
Copy link
Member Author

@tomhoule I've rebased it!

@h-michael
Copy link
Member Author

Nightly build is failed, because of hyperium/hyper#1688.

@tomhoule
Copy link
Member

Sorry for the delay :/ I'll merge anyway.

@tomhoule tomhoule merged commit a0b2f1e into graphql-rust:master Oct 30, 2018
@h-michael h-michael deleted the visibility branch October 30, 2018 08:27
@h-michael
Copy link
Member Author

@tomhoule
Thank you for taking the time out of your busy schedule to review.

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.

2 participants