TypeError: sanitizer is not a function

See original GitHub issue

While I try to insert json data, I get:

TypeError: sanitizer is not a function

The column type is string in schema, and the decorators are setup like in docs: https://github.com/Nozbe/WatermelonDB/blob/master/docs/Advanced/AdvancedFields.md#json

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
pramodgobburi3commented, Jun 23, 2020

@vdthieu Were you able to resolve this?

1reaction
radexcommented, Mar 7, 2019

What’s your babel config?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Next.js DOMPurify.sanitize() shows TypeError - Stack Overflow
sanitize is not a function . What is wrong here? I tried with even simpler codes but everything shows the same error! What...
Read more >
DOMPurify.sanitize() throws error that sanitize is not a function ...
I'll explain what happens. The code inside your React component runs both on the client and on the server. On the server DOMPurify...
Read more >
How to use the dompurify.sanitize function in dompurify - Snyk
To help you get started, we've selected a few dompurify.sanitize examples, based on popular ways it is used in public projects.
Read more >
DomSanitizer - Angular
DomSanitizer helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing values to be safe to use in the different DOM contexts.
Read more >
sanitizer-sanitize.https.tentative.html - wpt.live
Fail, Sanitizer.sanitze(Document), (intermediate value).sanitize is not a function TypeError: (intermediate value).sanitize is not a function at Test.<anonymous> ...
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