Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build out a prelude for operations and effects #221

Open
choubacha opened this issue May 29, 2018 · 0 comments
Open

Build out a prelude for operations and effects #221

choubacha opened this issue May 29, 2018 · 0 comments
Labels
refactor Change the way to code works to make life easier.

Comments

@choubacha
Copy link
Owner

Expected Behavior

I can include a prelude for operations and effects:

use stellar_client::resources::operations::prelude::*;
use stellar_client::resources::effects::prelude::*;

If this is easy, it might make sense to also have one for resources it self, so that you can easily include all the resources instead of by type.

Actual Behavior

You need to individually include types or use * in a potentially bad way. We should remove the * usage if it already exists (operations and effects come to mind).

@choubacha choubacha added the refactor Change the way to code works to make life easier. label May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Change the way to code works to make life easier.
Projects
None yet
Development

No branches or pull requests

1 participant