How to Use Java Records With Quarkus

Поділитися
Вставка
  • Опубліковано 23 жов 2024

КОМЕНТАРІ • 12

  • @sergeyshvyrev969
    @sergeyshvyrev969 Рік тому +1

    It is very interesting about the use with Panache. Thanks you!!!

  • @Robsonsantos-mv9dp
    @Robsonsantos-mv9dp Рік тому +1

    Great video! I was looking for it! Thanks, Sebastian.

  • @MarcusPaulo
    @MarcusPaulo Рік тому +1

    Congratulations on this video, Sebastian.

  •  Рік тому +1

    Amazing video!

  • @cvgaviao
    @cvgaviao 8 місяців тому

    Hey Sebastian, nice video, congrats.
    Could you produce one talking about Json Validation on Quarkus, mainly using Records in the REST methods ?

    • @SebastianDaschnerIT
      @SebastianDaschnerIT  7 місяців тому

      Thanks! :)
      Are there some issues or uncertainties with Bean Validation of Records? In the easiest case, one would just annotate the Record's fields with the BV annotation (like @NotNull), actually just like Java classes...no?

  • @prechada9661
    @prechada9661 Рік тому +1

    Thank you

  • @kaneich
    @kaneich Рік тому

    any new linux and git tutorials coming ?

    • @SebastianDaschnerIT
      @SebastianDaschnerIT  Рік тому

      What would you be interested in? :)

    • @kaneich
      @kaneich Рік тому +1

      ​@@SebastianDaschnerIT more tips in linux commands will be good sebastian and thanks for those awesome tutorials you really good

  • @malikoski
    @malikoski 6 місяців тому

    The class Car could be a Record ?

    • @SebastianDaschnerIT
      @SebastianDaschnerIT  6 місяців тому

      Technically maybe, yes. Depends on the understanding of your domain, since from a DDD perspective, your car would likely be an entity (identifiable, has a serial number, so you care "which" car you have), and then when you want to change/update properties, a class would make more sense. But yes, if you don't need that then yes