Commit 9c762be
committed
NCBC-4039: Add JsonIgnore to public fields in BucketConfig
Motivation
----------
The Get-only public fields (LINQ helpers for zone-aware read from replica) were automatically pulled by the json serializer, which could cause serialization errors.
Changes
-------
Added JsonIgnore attributes to each so they don't get included in serialization.
Change-Id: I10a694585ebaf8834c2ee7e1715bc1ec1851c198
Reviewed-on: https://review.couchbase.org/c/couchbase-net-client/+/229588
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Jeffry Morris <jeffrymorris@gmail.com>1 parent 69e9bf5 commit 9c762be
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| 440 | + | |
440 | 441 | | |
441 | 442 | | |
442 | 443 | | |
| |||
445 | 446 | | |
446 | 447 | | |
447 | 448 | | |
| 449 | + | |
448 | 450 | | |
449 | 451 | | |
450 | 452 | | |
| |||
454 | 456 | | |
455 | 457 | | |
456 | 458 | | |
| 459 | + | |
457 | 460 | | |
458 | 461 | | |
459 | 462 | | |
| |||
0 commit comments