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

native transformations should support usage of the context as parameters of functions #533

Closed
Seddryck opened this issue Oct 3, 2019 · 1 comment

Comments

@Seddryck
Copy link
Owner

Seddryck commented Oct 3, 2019

In addition to #532 it would also be great to be able to use values of the current row within a native transformation (transform alterations).

In the following fragment, [base-column], [min], [max] are column names.

<transform column="[base-column]" language="native" original-type="numeric">
      numeric-to-clip([min], [max])
</transform>

It should also be possible to use column's index in place of column's name: [#0]

@Seddryck Seddryck added this to the v1.21 milestone Oct 6, 2019
Seddryck pushed a commit that referenced this issue Oct 7, 2019
…ttps://github.com/Seddryck/NBi into feature/native_transformation_with_context_(#533)

# Conflicts:
#	NBi.Core/Calculation/ResultSetFilterFactory.cs
#	NBi.Core/Scalar/Resolver/ScalarResolverArgsFactory.cs
#	NBi.NUnit.Runtime/TestSuite.cs
#	NBi.NUnit/Builder/Helper/PredicateArgsBuilder.cs
#	NBi.NUnit/Builder/Helper/QueryResolverArgsBuilder.cs
#	NBi.NUnit/Builder/Helper/ResultSetResolverArgsBuilder.cs
#	NBi.NUnit/Builder/Helper/ScalarHelper.cs
#	NBi.NUnit/Builder/Helper/ScalarResolverArgsBuilder.cs
#	NBi.NUnit/Builder/ResultSetRowCountBuilder.cs
#	NBi.Testing/Unit/NUnit/Builder/Helper/ScalarResolverArgsBuilderTest.cs
@Seddryck
Copy link
Owner Author

Seddryck commented Oct 8, 2019

beta available at https://ci.appveyor.com/project/Seddryck/nbi/builds/27942922/artifacts and 1.21.0-beta0212

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