Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/starbase/integration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import { StarbaseConfig, StarbaseIntegration } from './types';
import { executeWithLogging } from './process';

async function collectIntegrationData(integrationDirectory: string) {
await executeWithLogging(`yarn --cwd ${integrationDirectory} start;`);
await executeWithLogging(
`yarn --cwd ${integrationDirectory} start --disable-schema-validation;`,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I wonder if we should allow arbitrary args to be passed down to this command.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think we should allow that. I think, but am not completely sure, that invalid flags are ignored by the SDK.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I believe the SDK will complain about an invalid option if you provide a flag it's not expecting. I think either option is great and really appreciate the addition!

An argument in favor of allowing arbitrary args is it would also allow Starbase users to specify only a subset of steps to execute with the --step option. And certainly other benefits as well, but that's the one that immediately comes to mind as potentially useful.

);
}

async function writeIntegrationDataToNeo4j(
Expand Down