Skip to content

Clarify MobileFormatter serialization limitations for collections#16

Merged
rockfordlhotka merged 1 commit into
mainfrom
claude/update-csla-docs-ErH0S
Feb 14, 2026
Merged

Clarify MobileFormatter serialization limitations for collections#16
rockfordlhotka merged 1 commit into
mainfrom
claude/update-csla-docs-ErH0S

Conversation

@rockfordlhotka
Copy link
Copy Markdown
Member

Summary

Updated documentation across multiple versions to clarify that standard .NET collection types (List<T>, Dictionary<K,V>) are not directly serializable by MobileFormatter, and provide guidance on proper alternatives.

Key Changes

  • Removed misleading references to List<T> as a supported primitive type in serialization documentation
  • Added prominent warning notices in three documentation files explaining that standard .NET collections require either:
    • Use of CSLA-specific alternatives (MobileList<T>, MobileDictionary<K,V> from Csla.Core)
    • Custom serializer registration
  • Reorganized the "Other" types section to clarify char[] is supported as a primitive type
  • Applied consistent documentation updates across v9, v10, and main documentation branches

Notable Details

  • The changes address a common source of confusion where developers might assume standard .NET collections work with MobileFormatter
  • Warning notices use consistent formatting and messaging across all affected documentation files
  • No functional code changes; documentation-only updates to improve clarity and prevent misuse

https://claude.ai/code/session_011R3Y2CSgCZrDwdVacjARaW

Remove List<int> from SerializationInfo supported types lists across
multiple docs. Standard .NET collection types like List<T> and
Dictionary<K,V> are not directly serializable - users should use
MobileList<T> or MobileDictionary<K,V> from Csla.Core instead.

Related to MarimerLLC/csla#4680

https://claude.ai/code/session_011R3Y2CSgCZrDwdVacjARaW
@rockfordlhotka rockfordlhotka merged commit a6db156 into main Feb 14, 2026
1 check passed
@rockfordlhotka rockfordlhotka deleted the claude/update-csla-docs-ErH0S branch February 14, 2026 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants