Popcorn is a .Net Middleware for your RESTful API that allows your consumers to request exactly as much or as little as they need, with no effort from you.
Added [InternalOnly] attribute.
If the client tries to expand an object or to read a property or value marked [InternalOnly(true)], it will throw an exception. If marked InternalOnly(false) it will return null instead.
Related Issue
34
Motivation and Context
34
How Has This Been Tested?
I created a few Unit Tests inside the ExpanderTests.cs file. Every test was passed.
Description
Added [InternalOnly] attribute. If the client tries to expand an object or to read a property or value marked [InternalOnly(true)], it will throw an exception. If marked InternalOnly(false) it will return null instead.
Related Issue
34
Motivation and Context
34
How Has This Been Tested?
I created a few Unit Tests inside the ExpanderTests.cs file. Every test was passed.