Comments (4)
Making it partial
and allows private
sounds good.
MemoryPack also adopts this design.
Moreover, in MessagePack, the current necessity of passing AllowPrivate doesn't make for a great experience.
Compared to this, enabling specific private classes to be partial
seems like a step forward and makes things easier.
In line with this, the Analyzer should also be modified.
Currently, writing a Key on a private member seems to be ignored without any warnings.
At this point, an error message suggesting to make the class partial
would be more user-friendly and easier to understand.
from messagepack-csharp.
Related Issues (20)
- 'MessagePack.IgnoreMemberAttribute' is not Inherited(after overriding property) in 2.5.140. HOT 2
- Generation of Message Pack fails with .Net 7 HOT 3
- Vs2022 ver17.8.3 mpc fail HOT 12
- .NET 8: System.Collections.Frozen not supported HOT 4
- Can't save enum in Unity HOT 4
- The serialization process does not convert the data into a binary format. HOT 1
- System.ArgumentException: The value "System.Object[]" is not of type and cannot be used in this generic collection. (Parameter 'value') HOT 1
- Seems that MessagePack doesn't work for Android [Help wanted]
- Update to .NET 8 HOT 4
- Can someone explain how to use 2.6 source generator? [Help wanted] HOT 4
- Always-on AOT HOT 7
- Source generated resolver should include hand-written formatters HOT 6
- .NET 8: (U)Int128 handling HOT 3
- Serialization of WeakReference<T> HOT 4
- Question: Possibility of exposing LZ4 functionality? HOT 1
- ThreadsafeTypeKeyHashTable.VolatileWrite missing nullable declaration for `value` parameter HOT 2
- MessagePack.Generator - Issues with generic
- Private fields on base class do not get serialized HOT 4
- MessagePack.Generator.2.5.140 - Union metatag causes msc.exe error: Index was outside the bounds of the array
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from messagepack-csharp.