Urql: Export `QueryProps`?

Created on 18 Jun 2019  路  4Comments  路  Source: FormidableLabs/urql

Hi!

A user opened an issue (https://github.com/dotansimha/graphql-code-generator/issues/1995) for our GraphQL Code Generator, regarding an error while using our plugin for urql.

I noticed that QueryProps is defined and exported from Query.ts (https://github.com/FormidableLabs/urql/blob/master/src/components/Query.ts#L5), but it's not exported from the index.ts (https://github.com/FormidableLabs/urql/blob/master/src/components/index.ts#L2).

Is there a reason not to export everything from Query.ts (and others?) ?

Thanks

Most helpful comment

@dotansimha v1.1.2 has just gone out with a bunch of fixes :+1:

All 4 comments

Hey,

Thanks for the clear error report, I'll make work of a PR that exports the Props for all components tonight. Since the export seems to be missing on all of them.

Sorry about that! We're about to push a patch release, so I'll quickly add a fix for this on.

Perfect, thanks @kitten @JoviDeCroock .
Any chance we can get a release?

@dotansimha v1.1.2 has just gone out with a bunch of fixes :+1:

Was this page helpful?
0 / 5 - 0 ratings