Levi Wheatcroft

Results 57 comments of Levi Wheatcroft

I can't think of a use case for namespacing subscription, mutations, and queries. But certainly we need the ability to namespace arbitrary graphql endpoints. Not sure about exposing reporter &...

Not a solution, but for others wanting to implement a simple send fn using a native request this might save some time... You need to define the env keys, and...

I'm using cloudflare workers also, but completely new, haven't tried this in production yet. FormData is working in the wrangler development environment. It doesn't work in production? I had thought...

I'm a bit late but maybe something like... ``` var raw = yourObject var result = Object.assign(camelizeKeys(raw), { important_stuff: raw.important_stuff }) ```

``` Running "mochaTest:test" (mochaTest) task >> Mocha exploded! >> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode >> at exports.runInThisContext (vm.js:53:16) >> at Module._compile (module.js:387:25)...

@bockulator 's workaround worked for me. One mistake I made, I'm specifying environment variables in a compose.yml file, so you don't need quotes around the values for environment variables. Initially...

this is working for me: ``` interface CustomEvent extends Event { detail: string } element.addEventListener('myCustomEvent', ({ detail }: CustomEvent) => { if (isUndefined(detail)) throw new RangeError() doSomething(detail }) ``` The...