-
Notifications
You must be signed in to change notification settings - Fork 256
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
allow custom_parameters as an object #30
Conversation
Added some tests to comfort coveralls. |
Hi, @nojhamster, thanks for the feedback and for your effort to fix the issue. Your code helped me a lot. 👍 However, the main place for configuration is the JSON data structure. I assume you are setting your custom parameters programmatically, which is fine, but the user should be able to configure them through the JSON data structure. So, changes to the If you are interested in how I implemented it, take a look at this commit 6509568 With this fix you can now have the following configuration: "trello":{
"name": "my app"
} You can pull master and test it. Let me know what do you think. The new version will be out by the end of this week. Closed via 6509568 |
Hi @simov, nice reactivity :) Setting
That way, I can connect using |
Yep, that's a very good use case, I definitely missed the |
@nojhamster I got your point and the fix for the configuration is here 4e3c7bc Basically I'm going to introduce the "trello": {
"custom_params": {
"name":"my app",
"expiration": "never"
}
} Now, technically this still works: "trello": {
"expiration": "never"
} But you can't specify the |
@simov I tried that last commit and it worked like a charm, I'm also of your opinion concerning the use of |
Version 3.5.0 is published on NPM - changelog |
Fixes #29
This is a small change that allow using an object instead of an array as custom parameters, making reserved words (typically
name
) usable in parameters.