Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Micronode GraphQL-Response uses different format #144

Closed
deckdom opened this issue Feb 27, 2018 · 2 comments
Closed

Micronode GraphQL-Response uses different format #144

deckdom opened this issue Feb 27, 2018 · 2 comments
Assignees

Comments

@deckdom
Copy link
Member

deckdom commented Feb 27, 2018

Gentics Mesh Version, operating system, or hardware.

  • v0.16.x

Problem

Currently the issue lies in the Micronode handling in the GraphQL endpoint. The format is not the same as everywhere else, which causes confusion and additional normalization work (So you can actually compare the response values).

Normal Response (POST search/nodes, GET nodes/<uuid>, etc.):

{
    "uuid": "...",
    "microschema": {
        "name": "..."
    },
    "fields": {
        "myField": "..."
    }
}

GraphQL-Response:

{
    "myField": "..."
}

Expected behaviour and actual behaviour

GraphQL should return Micronodes the same way as every other Response which contains Micronodes

@Jotschi
Copy link
Contributor

Jotschi commented Mar 2, 2018

I'm not sure whether we can change the format. I'll take a look at it if I find some time.

@Jotschi Jotschi transferred this issue from gentics/mesh May 15, 2019
@Jotschi
Copy link
Contributor

Jotschi commented Jun 6, 2019

Response format has been aligned. Change was released with 0.35.0

@Jotschi Jotschi closed this as completed Jun 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants