Comments (6)
@Kralizek this feature touches the weird object graph thing aka NodeComposer
, which I am a bit afraid of. π
I think Mark might have been the only one to truly understand it.
I will try to figure it out but it might take me a while.
I'll open another feature request to replace this bug report.
from autofixture.
@Kralizek to me it sounds more like a feature request then a bug
from autofixture.
I was uncertain it if was supposed to work or not :)
Is the Range
attribute (and the other data annotations) considered only when decorating properties?
from autofixture.
@Kralizek it is supposed to work for properties, fields, and method parameters but not for that lambda in the .FromFactory
since it doesn't pass through the same deconstruction pipeline as the other types.
The lambda parameters get transformed immidiately into a ISpecimenBuilder
which doesn't take into consideration the parameter attributes.
from autofixture.
I appreciate that :)
from autofixture.
closing in favor of #1426
from autofixture.
Related Issues (20)
- Generator<T> hangs when used to generate a sample from limited range HOT 2
- π¨ GDPR compliance issue HOT 1
- β¨ Repeatable random numbers
- π [AutoFixture.Xunit2] MemberAutoDataAttribute generates fixtures for test method parameters provided from MemberData HOT 3
- π Enum data type is not applied when a member has both `[StringLength]` and `[EnumDataType]` annotations HOT 4
- π Unexpected ObjectCreationExceptionWithPath or if not a bug at least a confusing description HOT 3
- β¨ Support FakeItEasy 8 HOT 1
- β¨ Support for NUnit 4 HOT 16
- β¨ Accept `ISpecimentBuilder` as value generator for `With` HOT 1
- β¨ DataAnnotations support for specimen factories
- π Auto properties on large record types causes severe performance degradation HOT 4
- ICustomization for DateOnly causes a hang. HOT 1
- π RandomNumericSequenceGenerator with limits, can create values outside of these limits in certain scenarios HOT 1
- autofixture is missing NuGet package README file HOT 2
- autofixture.automoq is missing NuGet package README file HOT 1
- `IAsyncEnumerable` generates an infinite sequence π HOT 2
- π SourceLink doesn't work because of incorrect casing in GitHub URLs HOT 4
- π¨ Vulnerability in packages System.Net.Http and System.Text.RegularExpressions HOT 3
- Builder.WithVariations⨠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 autofixture.