@@ -298,16 +298,6 @@ The library caches field names using `@functools.lru_cache`:
298298
299299** Impact** : Significant performance improvement for repeated serialization of same model type.
300300
301- ### Schema Checks
302-
303- ** Current behavior** : ` is_included() ` is called for every field, even in strict mode.
304-
305- ** Optimization opportunity** (TODO in code):
306- - Skip ` is_included() ` checks when not greedy (strict mode)
307- - In strict mode, only iterate over ` schema.keys `
308-
309- ** Impact** : Minor performance improvement for strict mode serialization.
310-
311301### Type Checking
312302
313303** Current implementation** : ` isinstance(value, types) ` with tuple of types.
@@ -525,16 +515,6 @@ class MyModel(Base, SerializerMixin):
525515
526516** Note** : This is a documented limitation. May be implemented in future.
527517
528- ### Iterable Serialization Swallows Errors
529-
530- ** Symptom** : Some items missing from serialized list, no error
531-
532- ** Cause** : ` serialize_iter() ` catches ` IsNotSerializable ` and continues
533-
534- ** Behavior** : By design - allows partial serialization of mixed-type collections
535-
536- ** Workaround** : Check logs for warnings, or serialize items individually to catch errors.
537-
538518## API Decisions
539519
540520### Why Mixin Instead of Base Class?
@@ -587,17 +567,6 @@ class MyModel(Base, SerializerMixin):
587567- Easy to exclude sensitive fields with negative rules
588568- Can switch to strict mode when needed
589569
590- ### Why Swallow Exceptions in Iterables?
591-
592- ** Decision** : Catch ` IsNotSerializable ` in ` serialize_iter() ` and continue
593-
594- ** Rationale** :
595- - Allows partial serialization of mixed-type collections
596- - Prevents one bad item from breaking entire serialization
597- - Common use case: list with mostly serializable items
598-
599- ** Trade-off** : May hide legitimate errors (see FIXME in code)
600-
601570### Why LRU Cache for Field Introspection?
602571
603572** Decision** : Cache ` get_serializable_keys() ` results
0 commit comments