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

Support modification of GitLab data #4

Open
nbigaouette opened this issue Dec 5, 2016 · 1 comment
Open

Support modification of GitLab data #4

nbigaouette opened this issue Dec 5, 2016 · 1 comment

Comments

@nbigaouette
Copy link
Owner

Right now API is read-only; data can be retrieved but not set.

To be useful the API should be extended to write too.

@nbigaouette
Copy link
Owner Author

Some fields in the different struct do make sense to modify, for example the title or content of an issue, but others are really just read-only property, for example the creation date.

The crate should provide either:

  1. Methods to modify a specific field, a la builder pattern;
  2. Allow the user to directly modify directly a struct that would be sent.

Option 1. might require more work, but it's probably a better option as it allow to use the type system for static validation.

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

No branches or pull requests

1 participant