Extend reflex docgen#6573
Conversation
Greptile SummaryThis PR extends the
Confidence Score: 3/5The core logic and lazy-import plumbing are sound, but adding an unhashable dict field to a frozen dataclass silently breaks hash() on FrontMatter and Document for any caller that stores them in sets or uses them as dict keys. The metadata field defaults to a plain dict, which is not hashable. Because FrontMatter is frozen=True, Python generates a hash that tries to hash every field — it will raise TypeError at runtime for any code that relied on the previously-valid hashability of FrontMatter or Document. packages/reflex-docgen/src/reflex_docgen/markdown/_types.py — the metadata field on FrontMatter needs hash=False to restore safe behaviour for frozen dataclasses. Important Files Changed
Reviews (1): Last reviewed commit: "Extend reflex docgen" | Re-trigger Greptile |
No description provided.