Skip to content

Commit 5d186b7

Browse files
committed
adding the ThrowOnNotSupportedExpression and NotSupported cases enum into the readme
1 parent 795566c commit 5d186b7

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[Apex.Serialization]: https://github.com/dbolin/Apex.Serialization
1717
[MapsterMapper]: https://github.com/MapsterMapper/Mapster
1818

19-
[![latest release notes](https://img.shields.io/badge/latest%20release%20notes-v3.1.0-blue)](https://github.com/dadhi/FastExpressionCompiler/releases/tag/v3.1.0)
19+
[![latest release notes](https://img.shields.io/badge/latest%20release%20notes-v3.2.0-blue)](https://github.com/dadhi/FastExpressionCompiler/releases/tag/v3.2.0)
2020
[![Windows build](https://ci.appveyor.com/api/projects/status/4iyhed69l3k0k37o/branch/master?svg=true)](https://ci.appveyor.com/project/MaksimVolkau/fastexpressioncompiler/branch/master)[![license](https://img.shields.io/github/license/dadhi/FastExpressionCompiler.svg)](http://opensource.org/licenses/MIT)
2121

2222
Targets .NET Standard 2.0, 2.1 and .NET 4.5
@@ -314,6 +314,14 @@ Besides that, when converting the source expression to either C# code or to the
314314
the `// NOT_SUPPORTED_EXPRESSION` comments marking the not supported yet expressions by FEC. So you may verify the presence or absence of this comment in a test.
315315

316316

317+
### ThrowOnNotSupportedExpression and NotSupported cases enum
318+
319+
FEC V3.1 adds to the compiler flags the `CompilerFlags.ThrowOnNotSupportedExpression`
320+
so that compiling the expression with not supported node will throw the respective exception instead of returning `null`.
321+
322+
To get the actual list of the not supported cases you may check `NotSupported` enum.
323+
324+
317325
## Additional optimizations
318326

319327
1. Using `FastExpressionCompiler.LightExpression.Expression` instead of `System.Linq.Expressions.Expression` for the faster expression creation.

0 commit comments

Comments
 (0)