Skip to content

issues Search Results · repo:danivek/json-api-serializer language:JavaScript

Filter by

76 results
 (55 ms)

76 results

indanivek/json-api-serializer (press backspace or delete to remove)

When the relationship s value only have an id key in their structure, the relation is in relationships but not in the included array. The serializer code (simplified) const serializer = new JSONAPISerializer({ ...
  • AmauryD
  • Opened 
    on Apr 11, 2022
  • #134

Description When a resource is deserialized and the included relationship is not registered an error will be thrown. The error says Cannot read property schema of undefined, which does not help a whole ...
  • Istanful
  • 5
  • Opened 
    on Aug 30, 2021
  • #129

Considering this data { id: u999 , name: Awesome Project , description: This is an awesome project , format: { id: u1 , inputFormats: [ u45 , u46 ], ...
  • yidongw
  • 5
  • Opened 
    on Aug 16, 2021
  • #128

It is too verbose to have those properties undefined. Can we have an option to remove all those fields? JSON.parse(JSON.stringify(object)) should be able to handle that
  • yidongw
  • 1
  • Opened 
    on Aug 11, 2021
  • #127

Hello, I currently have this code in my serializer : export default { jsonapiObject: false, id: id , links: { self: function (data) { return /v1/ingredients/ + data.id }, }, } that returns lots of data ...
  • benjibenoit
  • 2
  • Opened 
    on Apr 29, 2021
  • #122

The snippets to convert strings to various cases fail if the regexes within them don t match. E.g. toSnakeCase( * ) TypeError: Cannot read property map of null at toSnakeCase (lib/helpers.js:23:249) ...
  • alexzherdev
  • Opened 
    on Mar 16, 2021
  • #118

I was trying out this library last night and it works really great! Thanks for the awesome work. Thought I d share what I think might be a bug. I m going to use a simplified example to demonstrate the ...
  • itskingori
  • 2
  • Opened 
    on Jan 21, 2021
  • #116

I m seeing this error when try to set up a composite id: ValidationError: beforeSerialize is not allowed Here s my code to register the types. Note that I am not getting an error to serialize the other ...
  • nrcmkoh
  • 2
  • Opened 
    on Aug 11, 2020
  • #114

TL;DR: When deserializing an instance of Error, certain properties defined by the spec are dropped -- is this intentional and, if so, why? The JSON:API spec states that error objects MAY have the following ...
  • john-goldsmith
  • 1
  • Opened 
    on Jun 30, 2020
  • #110

@danivek ^ Happy to help out with this. We would need a couple of things: - the conversion, which I would help with / do completely on my own - a build process, as we then cannot just include the ...
  • kristof-mattei
  • 2
  • Opened 
    on May 18, 2020
  • #109
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub