haystack/releasenotes/notes/fix-document-init-09c1cbb14202be7d.yaml

5 lines
237 B
YAML
Raw Normal View History

---
preview:
- |
Make Document's constructor fail when is passed fields that are not present in the dataclass. An exception is made for "content_type" and "id_hash_keys": they are accepted in order to keep backward compatibility.