Coder Social home page Coder Social logo

Comments (2)

dalenewman avatar dalenewman commented on May 28, 2024

It is "possible" but, like a lot of things in this repository, it's pretty much undocumented.

If you really want to do this in Transformalize, Here are some things to look at:

Validators are operations (like Transforms are). Transform short-hand is set in an attribute called t while validator short-hand is set in the v attribute. Validators do not transform/modify anything. They produce an indication of valid, and a message. If you have a validator in a field called Field1, Transformalize will automatically make a bool field called Field1Valid and a string field called Field1Message. You can set these fields explicitly in the field as well with valid-field and message-field but then you have to define those fields too (as calculated fields that are not input).

If I have time I'll will make an example.

But, once you've figured out validation in Transformalize, you will want to know the approach we use. The approach to validating data before you update it somewhere else is this. You have one arrangement do the validation and produce an output with record-level and/or field level indication of the records' validity, then you have a subsequent action (or another arrangement) query the output of the first arrangement (only selecting valid records) to be updated in your ultimate destination.

from orchardcore.transformalize.

giannik avatar giannik commented on May 28, 2024

Hmm interesting.
I will look at the pointers you mention.
Thanks.

from orchardcore.transformalize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.