[CSHARP-1055] Replace CheckElementNames and CheckUpdateDocument with a more flexible ElementNameValidator Created: 29/Aug/14 Updated: 02/Apr/15 Resolved: 09/Sep/14 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | Serialization |
| Affects Version/s: | None |
| Fix Version/s: | 2.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
In 1.x we have the following booleans to configure what kind of checking a BsonWriter should do on element names when WriteName is called:
These should be replaced with a single ElementNameValidator property (of type IElementNameValidator) where the caller supplies the validator that suits the caller's needs. |
| Comments |
| Comment by Githook User [ 04/Sep/14 ] |
|
Author: {u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}Message: |
| Comment by Githook User [ 04/Sep/14 ] |
|
Author: {u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}Message: |
| Comment by Githook User [ 04/Sep/14 ] |
|
Author: {u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}Message: |