Specifications and type for failure reasons
See original GitHub issueHi Lutando,
I’m seeing that the “errors” parameter for the FailedExecutionResult has changed from an IEnumerable<string> to string[]. However, the type returned from WhyIsNotSatisfiedBy(T obj) in the Specification<T> class remains IEnumerable<string>. It is requiring that we now add “.ToArray( )” to our calls.
Was this intentional?
... new FailedExecutionResult(ourSpecification.WhyIsNotSatisfiedBy(command).ToArray());
Not a major issue, I think.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Product Specifications and Failure
Having such specifications would provide a valuable reference guide should a product fail in service, helping the analyst determine whether the failure was ......
Read more >Chapter 3. Failures and Failure Classification
An item can fail in many di erent ways – a failure mode is a description of a possible state of the item...
Read more >Failure cause
Failure causes are defects in design, process, quality, or part application, which are the underlying cause of a failure or which initiate a...
Read more >Failure Analysis - an overview
Failure analysis is the science and technique of understanding how materials and products fail. Whenever a component no longer performs its intended function, ......
Read more >Systematic Failure - an overview | ScienceDirect Topics
Over the last 30 years, increased complexity at both system and component level has led to a raft of failures (known as systematic)...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

this has been fixed in 0.4.5 😃
Maybe I can find out why tomorrow 😁