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

include metadata config option #59

Closed
adamkasprowicz opened this issue Jun 17, 2019 · 2 comments
Closed

include metadata config option #59

adamkasprowicz opened this issue Jun 17, 2019 · 2 comments
Assignees

Comments

@adamkasprowicz
Copy link
Contributor

if you initialize our lib with

const client = new KeenAnalysis({
  projectId: 'YOUR_PROJECT_ID',
  readKey: 'YOUR_READ_KEY',
  includeMetadata: true,
});

the response of each of the queries that you'll run should contain metadata informations

@apryka apryka self-assigned this Jul 8, 2019
@adamkasprowicz
Copy link
Contributor Author

scenario:
I create a new keen-analysis instance. I create 10 different queries to the API. If I want to get metadata info for each of the queries - I need to write over and over again includeMetadata: true inside each client.query(
Let's introduce more global option, defined in the constructor of the keen-analysis instance.

@apryka
Copy link
Contributor

apryka commented Jul 11, 2019

@apryka apryka closed this as completed Jul 11, 2019
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

2 participants