GithubHelp home page GithubHelp logo

Order in submission about services HOT 6 OPEN

AlainBeauchard avatar AlainBeauchard commented on June 11, 2024
Order in submission

from services.

Comments (6)

StephenOTT avatar StephenOTT commented on June 11, 2024

What do you mean by order? Do you mean the Order of the Json props such as:

{
   "prop1": "val1",
   "prop2": "val2"
}

vs

{
   "prop2": "val2",
   "prop1": "val1"
}

from services.

AlainBeauchard avatar AlainBeauchard commented on June 11, 2024

exactly

from services.

StephenOTT avatar StephenOTT commented on June 11, 2024

The order of Json properties is typically not guaranteed because of the Json spec states that props are not ordered / don't retain order.

from services.

AlainBeauchard avatar AlainBeauchard commented on June 11, 2024

This is a disadvantage for us, we have to change the order of submission' display, but we never know when.
Could you investigate about this issue in order to have a sustainable solution ?

from services.

StephenOTT avatar StephenOTT commented on June 11, 2024

Can you provide a more specific snippet of Json that you are seeing this out of order on?

from services.

AlainBeauchard avatar AlainBeauchard commented on June 11, 2024

Here a example of response correct :

{
"id": 1,
"uuid": "cdb44dd1-aa31-45ab-9cb5-619d26fe3100",
"createdAt": "2019-11-19T08:59:01+00:00",
"updatedAt": "2019-11-19T08:59:01+00:00",
"deletedAt": null,
"owner": "BusinessUnit",
"ownerUuid": "49b9813e-047c-4014-8580-2352c5e1a7b1",
"identity": "Staff",
"identityUuid": "360fd22d-00b2-4fc1-ae45-aaa1463a34e6",
"scenario": "/scenarios/dc3c8efe-3db0-411c-b9fe-afc37c56d4a9",
"data": {
"civilite": "monsieur",
"prenom": "Alain",
"mail": "[email protected]",
"nom": "Beauchard",
"telephone": "",
"adresse": "",
"memoriserMesDonneesPersonnellesPourMesProchainesDemandes": false,
"jsonIdentityRequested": "{"identity":"individual","identityUuid":"f1c08d72-a79c-4d73-b02f-fbd36b1ecc5b"}",
"canalRequest": "Courrier",
"tenantId": "b8a23c41-b3e5-486e-866b-fb83d727c239",
"salleAReserver": "salleDesFetes",
"dateDemarrageReservation": "2019-11-19T11:00:00.000Z",
"dateFinReservation": "2019-11-20T11:00:00.000Z",
"motifDeLaDemandeDeReservation": "",
"demandesParticulieres": "",
"nombreDePersonnes": 11,
"justificatifDeDomicile": [],
"jeCertifieLexactitudeDeCesInformations": true
},
"state": 1,
"version": 1,
"tenant": "b8a23c41-b3e5-486e-866b-fb83d727c239"
},

and in the invert order:
{
"id": 1,
"uuid": "cdb44dd1-aa31-45ab-9cb5-619d26fe3100",
"createdAt": "2019-11-19T08:59:01+00:00",
"updatedAt": "2019-11-19T08:59:01+00:00",
"deletedAt": null,
"owner": "BusinessUnit",
"ownerUuid": "49b9813e-047c-4014-8580-2352c5e1a7b1",
"identity": "Staff",
"identityUuid": "360fd22d-00b2-4fc1-ae45-aaa1463a34e6",
"scenario": "/scenarios/dc3c8efe-3db0-411c-b9fe-afc37c56d4a9",
"data": {
"jeCertifieLexactitudeDeCesInformations": true
"justificatifDeDomicile": [],
"nombreDePersonnes": 11,
"demandesParticulieres": "",
"motifDeLaDemandeDeReservation": "",
"dateFinReservation": "2019-11-20T11:00:00.000Z",
"dateDemarrageReservation": "2019-11-19T11:00:00.000Z",
"salleAReserver": "salleDesFetes",
"tenantId": "b8a23c41-b3e5-486e-866b-fb83d727c239",
"canalRequest": "Courrier",
"jsonIdentityRequested": "{"identity":"individual","identityUuid":"f1c08d72-a79c-4d73-b02f-fbd36b1ecc5b"}",
"memoriserMesDonneesPersonnellesPourMesProchainesDemandes": false,
"adresse": "",
"telephone": "",
"nom": "Beauchard",
"mail": "[email protected]",
"prenom": "Alain",
"civilite": "monsieur",
},
"state": 1,
"version": 1,
"tenant": "b8a23c41-b3e5-486e-866b-fb83d727c239"
},

from services.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.