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

meta payload isn't being recognized on POSTs #217

Open
joelalejandro opened this issue Sep 3, 2019 · 3 comments
Open

meta payload isn't being recognized on POSTs #217

joelalejandro opened this issue Sep 3, 2019 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@joelalejandro
Copy link
Member

Request

{
	"data": {
		"type": "user",
		"attributes": {
			"username": "[email protected]",
			"password": "f00b4r"
		},
		"relationships": {
			"environment": {
				"data": {
					"id": "641ce53d-c547-4d30-8d12-2d7fb2a25ab0"
				}
			}
		}
	},
	"meta": {
		"token": "c60e6f72-df7e-4197-ae84-fbf780bcdd8c"
	}
}

Parsed operation

{ op: 'add',
  params: {},
  ref: { id: undefined, type: 'user', relationship: undefined },
  data:
   { type: 'user',
     attributes:
      { username: '[email protected]',
        password: 'f00b4r',
        environment_id: '641ce53d-c547-4d30-8d12-2d7fb2a25ab0' },
     relationships: { environment: [Object] } } }
@joelalejandro joelalejandro added the bug Something isn't working label Sep 3, 2019
@spersico
Copy link
Member

spersico commented Sep 3, 2019

this is pretty weird, have you been able to replicate this in the dummy test suite?

@joelalejandro
Copy link
Member Author

Didn't investigate fully, just stumbled upon it when trying to perform that kind of request on an API I'm working on.

@spersico
Copy link
Member

spersico commented Sep 3, 2019

'kay, sometime this week I'll take a look

@spersico spersico added this to the 1.0.0 milestone Sep 15, 2019
@joelalejandro joelalejandro removed this from the 1.0.0 milestone Oct 28, 2020
@joelalejandro joelalejandro added this to the 1.1.0 milestone Nov 24, 2020
@joelalejandro joelalejandro modified the milestones: 1.1.0, 1.2.0 Jun 21, 2021
@joelalejandro joelalejandro modified the milestones: 1.2.0, 1.3.0 Oct 17, 2022
@joelalejandro joelalejandro moved this to 📋 Backlog in Kurier Nov 11, 2022
@joelalejandro joelalejandro self-assigned this Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants