redbar0n

Results 99 comments of redbar0n

> They also don't use any wrapping parenthesis there? True. But, imho, that reads horrible. Compare: ```ts // (1) let foo: (a:string) => string = (str) => { return str...

Makes sense. Though the docs are also a gateway that gives many the first impression of the language. So maybe a note should be made that it could be made...

But I found none of the suggestions there compelling. I suggest this API instead: ```graphql // #4 - complex example, multiple directives query MyCachedQuery($skipMember: Boolean!, ) @cached(ttl: 120) @cascade(fields:["name", "city"])...

@natew @thelinuxlich @jmsegrev @vicary what do you think?

> @redbar0n If you read the discussion in quoted issue [gqless/gqless#210](https://github.com/gqless/gqless/issues/210), you may already know my opinion, that forcing every scalar into a function defeats the attractive design of gqty/gqless....

@thelinuxlich duplicate on the same scope? link?

> The latest GraphQL spec allows directives to duplicate on the same scope, none of the proposals here are compatible. @thelinuxlich My proposal is compatible. You can turn this: ```js...

@PabloSzx could you summarise the relevant conclusions from your previous discussions? Chatrooms are good for rapid back-and-forth to hash out suggestions then and there. But I am generally in favor...

I finally found the invite link to the Discord chat.. https://discord.com/invite/U967mp5qbQ

Ok, I realise you are using a query object as a [proxy object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) for detecting changes to it. What about this suggestion? Trying to preserve the object-like API. ```gql //...