Replies: 3 comments 3 replies
-
Hi @xabk, it's a nice suggestion but it feels like not a good pattern since there are a lot of other API methods where the project parameter is missing and it can lead to some confusion if it'll be globally available. In addition, there are a bunch of other "common" properties for some groups of API methods. For example, |
Beta Was this translation helpful? Give feedback.
-
For me, I understand your concern though. And I have no idea if my workflows where project doesn't change from the moment I create the client are all that typical :) |
Beta Was this translation helpful? Give feedback.
-
Actually, I think we can do this for a We already have such a configuration in crowdin-api-client-ruby |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I feel like most of the time, the client is used to work with one project but it still requires you to pass
project_id
into every single project-related function.It would be great if the client itself had a
project_id
property that could be set and used by the functions under the hood.What do you guys think?
Beta Was this translation helpful? Give feedback.
All reactions