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

fix: introduce a back-comp change to 'project.update' to accept project_id instead of object #134

Merged
merged 3 commits into from
Jun 19, 2023

Conversation

lukeocodes
Copy link
Contributor

@lukeocodes lukeocodes commented Jun 5, 2023

All but one method for projects accepts the project_id, but the project.update method accepts the whole project object, plus another object with changes.

In the API, we only send over the changes object with the project_id.

I am modifying this method to accept project_id, uniformly with our other project methods, but retaining the backwards compatibility in the developer surface.

@lukeocodes lukeocodes merged commit e74947a into main Jun 19, 2023
@lukeocodes lukeocodes deleted the lo/fix-project-update-method-usage branch June 19, 2023 12:08
@lukeocodes lukeocodes changed the title fix: uniform method format, backwards compatible fix: introduce a back-comp change to 'project.update' to accept project_id instead of object Jun 19, 2023
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