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.

Schema normalization rules no longer seem to have a limit to prevent infinite loops

See original GitHub issue

This feature in previous versions of Slate was really helpful, but in 0.42.x it doesn’t seem to be there; at least I’m not seeing it.

Error: A schema rule could not be normalized after sufficient iterations. This is usually due to a rule.normalizeorplugin.normalizeNode function of a schema being incorrectly written, causing an infinite loop.

I’ve been waiting to hit the maximum callstack while debugging some normalization rules and it made me realize how much I appreciated that failsafe. Was this intentionally removed, or did I break something?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ianstormtaylorcommented, Nov 12, 2018

Just decreased to 100 so hopefully that helps.

1reaction
ianstormtaylorcommented, Oct 31, 2018

I think your point is good though that 1000 is too high to be useful so let’s keep this open til we fix it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 12 Normalization – Database Design – 2nd Edition
Normalization theory defines six normal forms (NF). Each normal form involves a set of dependency properties that a schema must satisfy and each...
Read more >
Maybe Normalizing Isn't Normal - Coding Horror
Normalization certainly delivers in terms of limiting duplication. Every entity is represented once, and only once -- so there's almost no risk ...
Read more >
When is a good time to break normalization rules?
All rules were meant to be broken, and if you have a piece of data in maybe 2 places that are very commonly...
Read more >
Chapter 3. Data, Tables, and Database Design - O'Reilly
THE FIX: Normalizing basically means organizing data to reduce redundancy. As the esteemed Webopedia ( http://www.pcwebopedia.com ) pithily puts it, it involves ...
Read more >
Relational Database Normalization Process
As mention before, relational database theorists have developed a series of guidelines for ensuring that databases are normalized.
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