Why you should follow the GraphQL mutation and error conventions

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ต.ค. 2024

ความคิดเห็น • 29

  • @sranmajstorovic2935
    @sranmajstorovic2935 ปีที่แล้ว +12

    These videos are awsome! I think they are not getting the attention they should, but please keep on, they will find their way eventualy!

  • @amirhosseinahmadi3706
    @amirhosseinahmadi3706 11 หลายเดือนก่อน +2

    Hot Chocolate is a such a powerful and well-thought-out framework; these videos are extremely helpful by the way, thanks for making them! Keep up the great work!

  • @jakejscott
    @jakejscott ปีที่แล้ว +2

    Really helpful thanks for making these videos they are great!

  • @alfredball3941
    @alfredball3941 ปีที่แล้ว

    Great video! I hated creating input and payload types.

  • @gerwim
    @gerwim ปีที่แล้ว +1

    Great video Michael!

  • @mickdelaney
    @mickdelaney ปีที่แล้ว

    Fantastic work Michael !!!

  • @dbizzle4
    @dbizzle4 ปีที่แล้ว +4

    Any way to get a link to the Example Code on Github?

  • @robbrodie6811
    @robbrodie6811 ปีที่แล้ว

    Fantastic video!

  • @saschakaracho1983
    @saschakaracho1983 ปีที่แล้ว +1

    Is there a way to pass the error messages to the client without specifying the error part (errors {... on Error...}) in the query?

  • @sranmajstorovic2935
    @sranmajstorovic2935 ปีที่แล้ว +3

    Will there be a video for query errors?

    • @ChilliCream
      @ChilliCream  ปีที่แล้ว +2

      Yes there will.

    • @gerwim
      @gerwim ปีที่แล้ว +2

      @@ChilliCream Do you maybe have a link to either documentation, example project or anything else regarding query errors? I know there's an error filter but the way mutation errors are returned and query errors will differ completely.

    • @exemory
      @exemory 9 หลายเดือนก่อน +1

      @@ChilliCream Are there any updates on query errors? It would be nice to have the same functionality as with mutations

    • @smalldot3
      @smalldot3 8 หลายเดือนก่อน

      @ChilliCream Any updates on the queries errors? Thx

  • @jayalam720
    @jayalam720 9 หลายเดือนก่อน

    How do you return the actual object(previous state) along with errors when the mutation fails?

  • @lucagiordano3450
    @lucagiordano3450 ปีที่แล้ว

    Amazing results. But what about validation errors and union error type?

    • @ChilliCream
      @ChilliCream  ปีที่แล้ว +1

      What do you mean? Validation errors are the same, you would expose them in the same way in your mutation. The error type is a union. So any error you expose is part of the error union of this mutation.

  • @natheesh
    @natheesh 10 หลายเดือนก่อน

    Can i get the code used in this video?

  • @jonatthu
    @jonatthu ปีที่แล้ว

    Why to use static class and method in our mutations?

    • @ChilliCream
      @ChilliCream  ปีที่แล้ว +3

      Very sharp eyed! There is a follow up coming next week explaining these new features.

    • @Joools1983
      @Joools1983 ปีที่แล้ว

      @@ChilliCream I suppose the MutationResult is also a part of the newer version, can´t find it in my current version of Hot Chocolate installed. :)

    • @jonatthu
      @jonatthu ปีที่แล้ว +2

      @ChilliCream because I C sharp ;) (dad joke lol)

    • @ChilliCream
      @ChilliCream  ปีที่แล้ว

      @@Joools1983 yes, it’s a 13 thing