question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow attribute null values

See original GitHub issue

Serializer converts null value into a "null" string. Shouldn’t it leave null instead?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
pwalczyszyncommented, Mar 16, 2016

Sorry reopening 😉 The same spec allows not specifying IDs when creating new resources: http://jsonapi.org/format/#crud-creating And that’s my case.

Only requirement is to have type.

So when I don’t specify an id and I serialize my object it always gives me: id: 'undefined'

0reactions
SeyZcommented, Sep 9, 2017

@pwalczyszyn It’s not fixed 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Change a Column to Allow NULL in SQL Server
If you have a column in a SQL Server table that does not allow NULL values and you need to change it to...
Read more >
Allow NULLs - IBM
The allow NULLs option is only available for the details stereotyped attribute on an entity class. The allow NULLs option determines whether NULL...
Read more >
How to: Represent Columns as Allowing Null Values - ADO.NET
Use the LINQ to SQL CanBeNull property on the ColumnAttribute attribute to specify that the associated database column can hold null values.
Read more >
How to allow nulls in unique fields - Simple Talk
The solution to allow nulls in unique fields is create a unique filtered index excluding the nulls of the index, due to that...
Read more >
Allow null in unique column - sql - Stack Overflow
However, two null values are not considered equal in this comparison. That means even in the presence of a unique constraint it is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found