#35381: Provide `JSONNull` expression to represent JSON `null` value
-------------------------------------+-------------------------------------
     Reporter:  Olivier Tabone       |                    Owner:  Clifford
                                     |  Gama
         Type:  New feature          |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Sage Abdullah):

 Thanks all, I was just about to post what Simon said.

 Replying to [comment:18 Clifford Gama]:
 > If we don’t deprecate using `None` in `KeyTransform` lookups to mean
 JSON null, then ticket #36508 would have to be reopened, as it is
 surprising that `(jsonfield__key__iexact=None)` is translated to an
 `__isnull` lookup when `jsonfield__key=None` means "does key have a value
 of JSON `null`."

 I agree, that ticket is a separate issue and I think it should be
 reopened. I'll leave a comment there for more details.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35381#comment:24>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/01070198e65f77d3-f06ae941-54fa-4bc8-ab0e-5668cf034781-000000%40eu-central-1.amazonses.com.

Reply via email to