Skip to content

Conversation

jasondamour
Copy link

@jasondamour jasondamour commented Mar 19, 2024

Check List

  • Tests has been run in packages where changes made if available
  • Linter has been run for changed code
  • Tests for the changes have been added if not covered yet
  • Docs have been added / updated if required

Add environment variable for configuring API base path

@jasondamour jasondamour requested a review from a team as a code owner March 19, 2024 20:56
Copy link

vercel bot commented Mar 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Ignored Deployments
Name Status Preview Comments Updated (UTC)
examples-angular-dashboard ⬜️ Ignored (Inspect) Visit Preview Mar 19, 2024 11:14pm
examples-react-d3 ⬜️ Ignored (Inspect) Visit Preview Mar 19, 2024 11:14pm
examples-react-dashboard ⬜️ Ignored (Inspect) Visit Preview Mar 19, 2024 11:14pm
examples-react-data-table ⬜️ Ignored (Inspect) Visit Preview Mar 19, 2024 11:14pm
examples-react-highcharts ⬜️ Ignored (Inspect) Visit Preview Mar 19, 2024 11:14pm
examples-react-material-ui ⬜️ Ignored (Inspect) Visit Preview Mar 19, 2024 11:14pm
examples-react-pivot-table ⬜️ Ignored (Inspect) Visit Preview Mar 19, 2024 11:14pm
examples-vue-query-builder ⬜️ Ignored (Inspect) Visit Preview Mar 19, 2024 11:14pm

@github-actions github-actions bot added the pr:community Contribution from Cube.js community members. label Mar 19, 2024
@jasondamour
Copy link
Author

Hello Cube, I just need some pointers to make sure I'm taking this in the right direction! I'll update docs shortly

@igorlukanin igorlukanin requested review from paveltiunov and ovr and removed request for paveltiunov March 20, 2024 13:44
@igorlukanin
Copy link
Member

Hi @jasondamour 👋 This looks directionally good. Would be great to have docs updated!

@KSDaemon KSDaemon assigned KSDaemon and unassigned paveltiunov Jul 21, 2025
@@ -1642,6 +1642,8 @@ const variables: Record<string, (...args: any) => any> = {
.asString(),
defaultApiScope: () => get('CUBEJS_DEFAULT_API_SCOPES')
.asArray(','),
basePath: () => get('CUBEJS_API_BASE_PATH')
.asArray(','),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about .asArray(',') here... it's just a string?

Suggested change
.asArray(','),
.asString(),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:community Contribution from Cube.js community members.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants