Richard Scarrott

Frontend Web Developer, London

@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 5 days ago
1 commit to master
  • @richardscarrott e158b5f
    Update follow-rel-prev.js
@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 5 days ago
1 commit to master
  • @richardscarrott 33f74cf
    Update follow-rel-next.js
@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 5 days ago
1 commit to master
  • @richardscarrott ada6f57
    Create follow-rel-prev.js
@richardscarrott
richardscarrott pushed to master in richardscarrott/test-snippets 5 days ago
1 commit to master
  • @richardscarrott 061caa1
    Create follow-rel-next.js
@richardscarrott
richardscarrott commented on pull request richardscarrott/snippets#32 5 days ago

@bsawyer thanks for the PR, I'll do my best to review it when I get some time -- it might not be for a little while but it's on my radar!

@richardscarrott
richardscarrott commented on issue graphql/graphql-relay-js#58 6 days ago

Are PRs for this still welcome or should this issue be closed as won't fix?

@richardscarrott

GraphQL code generator with flexible support for custom templates

TypeScript 867 Updated Oct 23

@richardscarrott

JSON scalar type for GraphQL.js

JavaScript 370 Updated Oct 19

@richardscarrott
richardscarrott starred stuyam/pressure a month ago

👇💥 JavaScript library for handling Force Touch, 3D Touch, and Pointer Pressure.

JavaScript 2.3k Updated Oct 21

@richardscarrott
richardscarrott starred facebook/dataloader a month ago

DataLoader is a generic utility to be used as part of your application's data fetching layer to provide a consistent API over various backends and …

JavaScript 5.8k 1 issue needs help Updated Oct 23

@richardscarrott
richardscarrott commented on issue MONEI/Shopify-api-node#199 a month ago

I'm not in production yet so can wait -- would be great to see how you've solved it 👍 I still think it'd become a problem for us calling Shopify (w…

@richardscarrott
richardscarrott commented on issue MONEI/Shopify-api-node#199 a month ago

@corbinu the Shopify docs seems to recommend @lpinca's approach -- so having your code manage the call rate in an attempt to mimic Shopify's intern…

@richardscarrott
richardscarrott commented on issue nock/nock#1212 a month ago

FYI, this is the complete afterNock function I'm using const parseNockDefs = ( nockDefs: (nock.NockDefinition & { rawHeaders: string[] })[] ) => { r…

@richardscarrott
richardscarrott starred nock/nock a month ago

HTTP server mocking and expectations library for Node.js

JavaScript 7k 11 issues need help Updated Oct 23

@richardscarrott
richardscarrott commented on issue nock/nock#457 a month ago

@gr2m I've created an issue here #1212, thanks

@richardscarrott
richardscarrott opened an issue in nock/nock a month ago
Nock record outputs array of hex values instead of plain JSON when response is encoded #1212

Related issue: Related: #457 (comment) What is the expected behavior? When recording responses which are compressed and chunked, e.g. Content-Encod…

@richardscarrott

Test case for potential nock record issue w/ transfer-encoding: 'chunked' responses.

Updated Sep 9

@richardscarrott
richardscarrott commented on issue nock/nock#457 2 months ago

@wprater digging up an old one here but I'm experiencing the same issue with APIs which return 'Content-Encoding': 'gzip' and 'Transfer-Encoding': …

@richardscarrott
richardscarrott starred joyent/node-verror 2 months ago

Rich JavaScript errors

JavaScript 762 Updated Oct 22

@richardscarrott
richardscarrott commented on issue auxilincom/docker-compose-starter#3 2 months ago

@itamaro you describe the exact problem I'm having -- I'm experimenting with changing the build context of a service to be the root of the monorepo…

@richardscarrott
richardscarrott commented on pull request moltin/js-sdk#211 2 months ago

@notrab I've made those changes -- I'm sure there'll still be some missing / incorrect types but at least the bulk of it is in place so it'll be ea…

@richardscarrott
richardscarrott pushed to master in richardscarrott/js-sdk 2 months ago
1 commit to master
  • @richardscarrott 052d100
    fixup! feat: Add TypeScript typings
@richardscarrott
richardscarrott pushed to master in richardscarrott/js-sdk 2 months ago
2 commits to master
  • @richardscarrott 8b2b3a1
    fixup! feat: Add TypeScript typings
  • @richardscarrott 1969f7d
    feat: Add TypeScript typings
@richardscarrott
richardscarrott commented on pull request moltin/js-sdk#215 2 months ago

@notrab, so I started to remove node-localstorage but quickly discovered the unit tests depend on it and I ended up in a world of pain -- I wonder …

@richardscarrott
richardscarrott pushed to memory-storage in richardscarrott/js-sdk 2 months ago
1 commit to memory-storage
  • @richardscarrott 0840588
    Rename StorageFactory to LocalStorageFactory
@richardscarrott
richardscarrott commented on pull request moltin/js-sdk#215 2 months ago

@notrab looks like we were very much on the same page re: storage 😄 I'll make the following changes this evening: Remove node-localstrage from St…

@richardscarrott
richardscarrott pushed to memory-storage in richardscarrott/js-sdk 2 months ago
1 commit to memory-storage
  • @richardscarrott c030be8
    feat: Add ability to use different storage strategies
@richardscarrott
richardscarrott opened a pull request in moltin/js-sdk 2 months ago
feat: Add ability to use different storage strategies #215

Status Ready Type Feature Custom storage strategies Description Adds ability to pass in custom StorageFactory to make the SDK more suitable…

+92 -16
@richardscarrott
richardscarrott pushed to memory-storage in richardscarrott/js-sdk 2 months ago
1 commit to memory-storage
  • @richardscarrott 7b2d7c6
    feat: Add ability to use different storage strategies