Haltarys

Results 15 comments of Haltarys

`(?:\d+)?` == `\d*` is what I'm saying.

Note: I used an array in an input type to illustrate the problem but it works with any type as long as it is an argument of a query/mutation. ```gql...

@smolinari What I mean by "make them required" is that they cannot accept `null`. But of course, if they have a default value, then the field is not required per...

@smolinari That is the problem. `age: Int! = 42` IS set. > Non-nullable fields are mandatory (i.e. can't be empty) and can't have null as a value. Default values have...

The way I see it, being nullable and having a default value are two unrelated metadata (I'm not sure it's the right word but you get it) about a field....

> The spec even says, non-null fields are required and shouldn't accept ommissions. I'm wondering if this is a bug in Apollo Server??? OK. Just to prove the point, I...

As I mentioned in my previous comment, using an officially endorsed package by GraphQL (therefore spec compliant), the expected behaviour can be achieved. So there is definitely a contradiction here,...

I personally use the [DarkReader](https://darkreader.org/) extension, which works almost perfectly with any website (including the docs of NestJS). Available on Chrome and Firefox.

```dart // Typecast var number = 42 as String; print(number is String); // true ``` This raises an exception for me: ``type 'int' is not a subtype of type 'String'...

You can wrap the whole host choosing part for the Android emulator in an assert block to remove it from the production build automatically. ```dart // Wrap in assert with...