mcrawshaw

mcrawshaw

Member Since 6 years ago

@hive-hub, Melbourne, Australia

Experience Points
3
follower
Lessons Completed
7
follow
Lessons Completed
190
stars
Best Reply Awards
17
repos

1660 contributions in the last year

Pinned
⚡ Awesome TypeScript loader for webpack
⚡ TODO highlighting package for Atom (with Typescript support)
⚡ Predictable state container for JavaScript apps
⚡ A React Higher Order Component (HOC) for handling Authentication and Authorization with Redux and React-Router
⚡ Create a GraphQL HTTP server with Koa.
Activity
Dec
22
1 month ago
pull request

mcrawshaw pull request socketio/socket.io-redis-adapter

mcrawshaw
mcrawshaw

Doc update to fix incorrect use of import

Should be createAdapter for the ES6 and TS examples.

push

mcrawshaw push mcrawshaw/socket.io-redis-adapter

mcrawshaw
mcrawshaw

Doc update to fix incorrect use of import

Should be createAdapter for the ES6 and TS examples.

commit sha: 44526d988a903b011993acb92423d7d7ccccaf4f

push time in 1 month ago
Activity icon
fork

mcrawshaw forked socketio/socket.io-redis-adapter

⚡ Adapter to enable broadcasting of events to multiple separate socket.io server nodes.
mcrawshaw MIT License Updated
fork time in 1 month ago
Nov
5
2 months ago
Activity icon
issue

mcrawshaw issue comment birdofpreyru/babel-plugin-react-css-modules

mcrawshaw
mcrawshaw

Error received after updating to 6.5.0

Not sure why, but when switching from 6.4.1 to 6.5.0, my compile fails with:

ERROR in ./src/universal/ui/widgets/form/FormRatingUiw.tsx
Module build failed (from ./node_modules/babel-loader/lib/index.js):
TypeError: localident.replace(...).replace(...).replace(...).replaceAll is not a function
    at /Users/markcrawshaw/Code/metamap/src/universal/ui/widgets/form/FormRatingUiw.pcss:1:1
    at escapeLocalIdent (/Users/markcrawshaw/Code/metamap/node_modules/@dr.pogodin/babel-plugin-react-css-modules/dist/getLocalIdent.js:197:101)
    at getLocalIdent (/Users/markcrawshaw/Code/metamap/node_modules/@dr.pogodin/babel-plugin-react-css-modules/dist/getLocalIdent.js:297:10)
    at generateScopedName (/Users/markcrawshaw/Code/metamap/node_modules/@dr.pogodin/babel-plugin-react-css-modules/dist/requireCssModule.js:95:41)
    at exportScopedName (/Users/markcrawshaw/Code/metamap/node_modules/postcss-modules-scope/src/index.js:95:28)
    at localizeNode (/Users/markcrawshaw/Code/metamap/node_modules/postcss-modules-scope/src/index.js:124:22)
    at Array.map (<anonymous>)
    at Selector.map (/Users/markcrawshaw/Code/metamap/node_modules/postcss-selector-parser/dist/selectors/container.js:347:23)
    at localizeNode (/Users/markcrawshaw/Code/metamap/node_modules/postcss-modules-scope/src/index.js:120:31)
    at traverseNode (/Users/markcrawshaw/Code/metamap/node_modules/postcss-modules-scope/src/index.js:152:32)
    at Selector.each (/Users/markcrawshaw/Code/metamap/node_modules/postcss-selector-parser/dist/selectors/container.js:207:16)
mcrawshaw
mcrawshaw
Activity icon
issue

mcrawshaw issue birdofpreyru/babel-plugin-react-css-modules

mcrawshaw
mcrawshaw

Error received after updating to 6.5.0

ERROR in ./src/universal/ui/widgets/form/FormRatingUiw.tsx
Module build failed (from ./node_modules/babel-loader/lib/index.js):
TypeError: localident.replace(...).replace(...).replace(...).replaceAll is not a function
    at /Users/markcrawshaw/Code/metamap/src/universal/ui/widgets/form/FormRatingUiw.pcss:1:1
    at escapeLocalIdent (/Users/markcrawshaw/Code/metamap/node_modules/@dr.pogodin/babel-plugin-react-css-modules/dist/getLocalIdent.js:197:101)
    at getLocalIdent (/Users/markcrawshaw/Code/metamap/node_modules/@dr.pogodin/babel-plugin-react-css-modules/dist/getLocalIdent.js:297:10)
    at generateScopedName (/Users/markcrawshaw/Code/metamap/node_modules/@dr.pogodin/babel-plugin-react-css-modules/dist/requireCssModule.js:95:41)
    at exportScopedName (/Users/markcrawshaw/Code/metamap/node_modules/postcss-modules-scope/src/index.js:95:28)
    at localizeNode (/Users/markcrawshaw/Code/metamap/node_modules/postcss-modules-scope/src/index.js:124:22)
    at Array.map (<anonymous>)
    at Selector.map (/Users/markcrawshaw/Code/metamap/node_modules/postcss-selector-parser/dist/selectors/container.js:347:23)
    at localizeNode (/Users/markcrawshaw/Code/metamap/node_modules/postcss-modules-scope/src/index.js:120:31)
    at traverseNode (/Users/markcrawshaw/Code/metamap/node_modules/postcss-modules-scope/src/index.js:152:32)
    at Selector.each (/Users/markcrawshaw/Code/metamap/node_modules/postcss-selector-parser/dist/selectors/container.js:207:16)
Nov
4
2 months ago
Activity icon
issue

mcrawshaw issue comment contrawork/graphql-helix

mcrawshaw
mcrawshaw

`context` is initially undefined since v1.9.0

Since v1.9.0 the context in a resolver seems to be initially undefined.

This leads to errors like

Cannot read properties of undefined (reading 'session')

Here's a repro: https://stackblitz.com/edit/node-ysprk8

I've just taken the context example from graphql-helix. When you switch the versions in the stackblitz from v1.9.0 to v1.8.4 in package.json it will work again.

mcrawshaw
mcrawshaw

Confirmed as resolved in 0.9.1.

Activity icon
issue

mcrawshaw issue contrawork/graphql-helix

mcrawshaw
mcrawshaw

Update to support GraphQL JS v16

Hi,

After upgrading to GraphQL JS v16 (released 28th of Oct 2021) while using this library, you should receive this error.

 Must provide document.

      at devAssert (node_modules/graphql/jsutils/devAssert.js:12:11)
      at assertValidExecutionArguments (node_modules/graphql/execution/execute.js:145:40)
      at Object.execute (node_modules/graphql/execution/execute.js:74:3)

This is discussed in relation to other libraries here: https://github.com/graphql/graphql-js/issues/3245#issuecomment-906965808

The most critical change required would be to pass an object rather than params to execute().

Mark.

Activity icon
issue

mcrawshaw issue comment contrawork/graphql-helix

mcrawshaw
mcrawshaw

Update to support GraphQL JS v16

Hi,

After upgrading to GraphQL JS v16 (released 28th of Oct 2021) while using this library, you should receive this error.

 Must provide document.

      at devAssert (node_modules/graphql/jsutils/devAssert.js:12:11)
      at assertValidExecutionArguments (node_modules/graphql/execution/execute.js:145:40)
      at Object.execute (node_modules/graphql/execution/execute.js:74:3)

This is discussed in relation to other libraries here: https://github.com/graphql/graphql-js/issues/3245#issuecomment-906965808

The most critical change required would be to pass an object rather than params to execute().

Mark.

Nov
3
2 months ago
Activity icon
issue

mcrawshaw issue comment contrawork/graphql-helix

mcrawshaw
mcrawshaw

Update to support GraphQL JS v16

Hi,

After upgrading to GraphQL JS v16 (released 28th of Oct 2021) while using this library, you should receive this error.

 Must provide document.

      at devAssert (node_modules/graphql/jsutils/devAssert.js:12:11)
      at assertValidExecutionArguments (node_modules/graphql/execution/execute.js:145:40)
      at Object.execute (node_modules/graphql/execution/execute.js:74:3)

This is discussed in relation to other libraries here: https://github.com/graphql/graphql-js/issues/3245#issuecomment-906965808

The most critical change required would be to pass an object rather than params to execute().

Mark.

started
started time in 2 months ago
Activity icon
issue

mcrawshaw issue contrawork/graphql-helix

mcrawshaw
mcrawshaw

Update to support GraphQL JS v16

Hi,

After upgrading to GraphQL JS v16 (released 28th of Oct 2021) while using this library, you should receive this error.

 Must provide document.

      at devAssert (node_modules/graphql/jsutils/devAssert.js:12:11)
      at assertValidExecutionArguments (node_modules/graphql/execution/execute.js:145:40)
      at Object.execute (node_modules/graphql/execution/execute.js:74:3)

This is discussed in relation to other libraries here: https://github.com/graphql/graphql-js/issues/3245#issuecomment-906965808

The most critical change required would be to pass an object rather than params to execute().

Mark.