Kait Johnson

Results 10 issues of Kait Johnson

It is very important that the library is able to return some sort of response that let's the user know they submitted an invalid request by raising a BadRequestError and...

It is very important that the library is able to return some sort of response that let's the user know they submitted an invalid request by raising a BadRequestError and...

It is important that the library abides by the JSONAPI spec. The [JSONAPI spec](http://jsonapi.org/format/#introduction) says that "Every resource object MUST contain an id member and a type member. The values...

It is very important that the library is able to return some sort of response that let's the user know they submitted an invalid request by raising a BadRequestError and...

It is very important that the library is able to return some sort of response that let's the user know they submitted an invalid request by raising a BadRequestError and...

It is very important that the library is able to return some sort of response that let's the user know they submitted an invalid request by raising a BadRequestError and...

It is very important that the library is able to return some sort of response that let's the user know they submitted an invalid request by raising a BadRequestError and...

Here is a test that should return a BadRequestError: ``` def test_add_resource_with_invalid_relationships(self): """Create resource with unknown OneToMany relationship key returns 400. A BadRequestError is raised. """ payload = { 'data':...

bug

Looking at the `patch_resource` function, we have ``` def patch_resource(self, session, json_data, api_type, obj_id): """ Replacement of resource values. :param session: SQLAlchemy session :param json_data: Request JSON Data :param api_type:...

For background information let's look at this test: ``` def test_add_resource_with_invalid_relationships(self): """Create resource with invalid relationship returns 400. A BadRequestError is raised. """ payload = { 'data': { 'attributes': {...