-
Notifications
You must be signed in to change notification settings - Fork 8
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
Added support for nested global fields #230
Added support for nested global fields #230
Conversation
lib/stack/globalField/index.js
Outdated
* client.stack({ api_key: 'api_key'}).globalField('global_field_uid').updateNestedGlobalField(data, { headers: { api_version: '3.3' }}) | ||
* .then((globalField) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sunil-lakshman , pls correct the version here
lib/stack/index.js
Outdated
* client.stack({ api_key: 'api_key'}).globalField({ api_version: '3.2' }).fetch() | ||
* .then((globalField) => console.log(globalField)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sunil-lakshman , We cannot call the fetch method without the uid. Right? I think the second example can be removed.
@sunil-lakshman , LGTM. |
* Added support for nested global fields (#230) * Added support for nested global fields * Added mock file * Fixed PR comments * Added released version and removed duplicate code * Update package-lock.json file * Commeneted nested global fields sanity testcases
No description provided.