Releases: basementstudio/commerce-toolkit
Releases · basementstudio/commerce-toolkit
@bsmnt/[email protected]
Major Changes
- 7be03f0: Migrate from graphql-codegen to Genql, an amazing graphql client generator
@bsmnt/[email protected]
Patch Changes
- 7be03f0: Migrate from graphql-codegen to Genql, an amazing graphql client generator
@bsmnt/[email protected]
Patch Changes
-
72e86a6: Add optional params to sdk-gen config.
- MaybeValue: Set type for Maybe in the generated file. Accepts a string.
- InputMaybeValue: Set type for InputMaybe in the generated file. Accepts a string.
- AvoidOptionals: If true it disables optional types on the generated schema. Accepts true or false.
@bsmnt/[email protected]
Minor Changes
- 017f3a0: Add a simple logging system
@bsmnt/[email protected]
Patch Changes
-
75198f9: _ Add
dedupeFragments
to codegen config. _It cleans the generated schema to avoid recurrent references to the same fragment in one query.*Issue related: dotansimha/graphql-code-generator#3063
@bsmnt/[email protected]
Major Changes
- 687fd41: Remove
createStandardStorefrontClient
as it was too big with no real benefit for now. Instead of usingcreateStandardStorefrontClient
, you now should use@bsmnt/sdk-gen
@bsmnt/[email protected]
Patch Changes
- 687fd41: Access
fetch
fromglobalThis
instead ofglobal
, as usingglobal
is unreliable.
@bsmnt/[email protected]
Patch Changes
- 095b1ca: save cart id on localStorage when creating with lines
@bsmnt/[email protected]
Patch Changes
- e274b6f: include graphql as a prod dependency to sdk-gen (knowing that it'll be installed as a
devDependency
@bsmnt/[email protected]
Patch Changes
- cce9e5b: remove unnecessary file