uni icon indicating copy to clipboard operation
uni copied to clipboard

Fixing JSON casts

Open DGoiana opened this issue 1 year ago • 3 comments

Review checklist

  • [ ] Terms and conditions reflect the current change
  • [ ] Contains enough appropriate tests
  • [ ] If aimed at production, writes a new summary in whatsnew/whatsnew-pt-PT
  • [ ] Properly adds an entry in changelog.md with the change
  • [ ] If PR includes UI updates/additions, its description has screenshots
  • [ ] Behavior is as expected
  • [ ] Clean, well-structured code

DGoiana avatar Oct 14 '24 15:10 DGoiana

Can you please provide an example response from the API? I just want to double check the casts

limwa avatar Oct 14 '24 15:10 limwa

Codecov Report

Attention: Patch coverage is 0% with 13 lines in your changes missing coverage. Please review.

Project coverage is 11%. Comparing base (bfe1fda) to head (19ae1b7). Report is 5 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff           @@
##           develop   #1357   +/-   ##
=======================================
- Coverage       11%     11%   -0%     
=======================================
  Files          267     267           
  Lines         7321    7325    +4     
=======================================
  Hits           802     802           
- Misses        6519    6523    +4     

codecov[bot] avatar Oct 14 '24 15:10 codecov[bot]

"version":0.6,
   "reqId":0,
   "status":"ok",
   "sig":833339832,
   "table":{
      "cols":[
         {
            "id":"A",
            "label":"Data",
            "type":"date",
            "pattern":"dd/mm/yyyy"
         },
         {
            "id":"B",
            "label":"Refeição",
            "type":"string"
         },
         {
            "id":"C",
            "label":"Prato",
            "type":"string"
         },
         {
            "id":"D",
            "label":"Descrição",
            "type":"string"
         }
      ],
      "rows":[
         {
            "c":[
               {
                  "v":Date(2023,
                  2,
                  6),
                  "f":06/03/2023
               },
               {
                  "v":"Almoço"
               },
               {
                  "v":"Sopa"
               },
               {
                  "v":"Sopa de feijão-frade"
               }
            ]
         },
         {
            "c":[
               {
                  "v":Date(2023,
                  2,
                  6),
                  "f":06/03/2023
               },
               {
                  "v":"Almoço"
               },
               {
                  "v":"Carne"
               },
               {
                  "v":"Frango no churrasco com arroz de ervilhas"
               }
            ]
         },
         {
            "c":[
               {
                  "v":Date(2023,
                  2,
                  6),
                  "f":06/03/2023
               },
               {
                  "v":"Almoço"
               },
               {
                  "v":"Peixe"
               },
               {
                  "v":"Tintureira estufada com molho de legumes e batata"
               }
            ]
         },
         {
            "c":[
               {
                  "v":Date(2023,
                  2,
                  6),
                  "f":06/03/2023
               },
               {
                  "v":"Almoço"
               },
               {
                  "v":"Dieta"
               },
               {
                  "v":"Frango cozido com batata"
               }
            ]
         },

DGoiana avatar Oct 14 '24 15:10 DGoiana