Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline native-transformation with variables #436

Closed
Seddryck opened this issue Dec 31, 2018 · 1 comment
Closed

Inline native-transformation with variables #436

Seddryck opened this issue Dec 31, 2018 · 1 comment

Comments

@Seddryck
Copy link
Owner

Seddryck commented Dec 31, 2018

It should be possible to use a variable and a transformation on one line of definition. It should be a bit similar to what is used for formatting.

Proposed syntax:

<parameter name="myParam">@var | dateTime-to-first-of-month<parameter> 

If the value of @var is 2019-01-25 then the value passed to the parameter myParam should be 2019-01-01.

@Seddryck Seddryck added this to the v1.20 milestone Dec 31, 2018
Seddryck pushed a commit that referenced this issue Feb 13, 2019
…)' of https://github.com/Seddryck/NBi into feature/Inline_native-transformation_with_variables_(#436)

# Conflicts:
#	NBi.NUnit/Builder/Helper/ScalarResolverArgsBuilder.cs
Seddryck pushed a commit that referenced this issue Feb 13, 2019
…#436)' into develop

# Conflicts:
#	NBi.Core/Scalar/Resolver/IScalarResolver.cs
#	NBi.Core/Transformation/Transformer/Native/AbstractNumericToTruncation.cs
#	NBi.Core/Transformation/Transformer/Native/NumericToCeiling.cs
#	NBi.Core/Transformation/Transformer/Native/NumericToFloor.cs
#	NBi.Core/Transformation/Transformer/Native/NumericToInteger.cs
#	NBi.Core/Transformation/Transformer/Native/NumericToRound.cs
@Seddryck
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant