Skip to content

feat(core): introduce GraphQL importer - #233

Open
ostridm wants to merge 2 commits into
masterfrom
feat_#232/introduce-graphql-importer
Open

feat(core): introduce GraphQL importer#233
ostridm wants to merge 2 commits into
masterfrom
feat_#232/introduce-graphql-importer

Conversation

@ostridm

@ostridm ostridm commented Mar 25, 2024

Copy link
Copy Markdown
Contributor

closes #232

@ostridm ostridm added the Type: enhancement New feature or request. label Mar 25, 2024
@ostridm ostridm self-assigned this Mar 25, 2024
@qlty-cloud-legacy

qlty-cloud-legacy Bot commented Mar 25, 2024

Copy link
Copy Markdown

Code Climate has analyzed commit 585f7d2 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 97.1% (50% is the threshold).

This pull request will bring the total coverage in the repository to 92.2% (0.1% change).

View more on Code Climate.

@ostridm
ostridm requested review from derevnjuk and removed request for derevnjuk March 25, 2024 13:34
@ostridm
ostridm marked this pull request as draft March 28, 2024 09:31
@ostridm
ostridm force-pushed the feat_#232/introduce-graphql-importer branch 2 times, most recently from 1d686be to 3c18b91 Compare March 28, 2024 13:30
@ostridm
ostridm force-pushed the feat_#232/introduce-graphql-importer branch from 3c18b91 to 4d8c69c Compare March 28, 2024 13:31
@ostridm
ostridm marked this pull request as ready for review March 28, 2024 13:38
@ostridm
ostridm requested a review from derevnjuk March 29, 2024 10:43
Comment on lines +1 to +3
export const isArrayOfStrings = (data: unknown) => !!data && Array.isArray(data)
? data.every(item => typeof item === 'string')
: false;

@derevnjuk derevnjuk Aug 21, 2024

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
export const isArrayOfStrings = (data: unknown) => !!data && Array.isArray(data)
? data.every(item => typeof item === 'string')
: false;
export const isArrayOfStrings = <T extends string>(data: unknown): data is T[] => Array.isArray(data) && data.every(item => typeof item === 'string');

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This utility func is only used once. Do we really need it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: enhancement New feature or request.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce GraphQL Importer

2 participants