Comments (3)
You can do almost the same thing using fluent configuration already - so you can specify
.With*Properties(c=>c.ForceNullable());
I'm not sure that it is necessary to add it to attributes configuration because it may be confusing when you have already specified ForceNullable for all the properties and then you suddenly decided to make one/two/three properties not nullable. Now it is much more flexible to use fluent configuration for that, but if someone else is interested then I can implement.
from reinforced.typings.
thanks for that snippet. I have to admit i did not check out the fluent configuration yet.
works great and this suits me much better than attribute configuration anyways.
from reinforced.typings.
Find out more here: https://github.com/reinforced/Reinforced.Typings/wiki/Fluent-configuration
from reinforced.typings.
Related Issues (20)
- Expose CLI entry points in nuget package
- .Net 7 Compatibility please! HOT 4
- Invalid code generated when C# code inherits from generic
- v1.6.1 does not support .NET 7 HOT 23
- Invalid code generated for explicit interface member implementation
- Export public static properties of static class to enum HOT 2
- Add raw line to output file (for example to disable eslint errors) HOT 3
- Is it possible to generate union?
- RT0999: Input string was not in a correct format.
- Are SDK Projects supported? HOT 3
- MSB6006 "" exited with code -214745073
- Issue when base class is exported as interface HOT 1
- feat: Net8 support HOT 24
- <RtDisable> and <TreatWarningsAsError> not working HOT 1
- Error MSB6006: "" exited with code 1. HOT 2
- The AddImports feature should allow you to select what quotes to use
- Generated Typescript loses information about combined enum flags when using UseString
- Improved compilation of JSDOC
- JSDOC for enums
- Add a custom property to a class HOT 4
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 reinforced.typings.