Coder Social home page Coder Social logo

Comments (5)

Adirio avatar Adirio commented on July 21, 2024

Update: removing the payload output both in the trigger.go and trigger.json so it seems it has some problem with the [X]uint8 array. How should I pass the payload then? Or how should I specify it is an array in the trigger.json file?

from flogo-contrib.

Adirio avatar Adirio commented on July 21, 2024

Update: Setting it to "array" in the .json file seems to have solved the problem but wasn't able to find any documentation nor the part of the code where this assertion is being made. Pointers to any of those two parts would be welcome.

from flogo-contrib.

fm-tibco avatar fm-tibco commented on July 21, 2024

I'll look into the "index out of range" and output not showing. At a minimum try to give a more constructive error to help diagnose the problem.

Also, we are working on cleaning put and adding additional documentation. Please create a documentation issue which we can address separately. Thank you.

from flogo-contrib.

Adirio avatar Adirio commented on July 21, 2024

I tracked the error as much as I could but wasn't able to find more. Using "type": "bytearray" in the trigger.json file was yielding the error while "type": "array" isn't. Is there any kind of parsing being done depending on this config parameter? If the answer is yes, ¿what types am I able to use? I thought this was just some kind of meta config information that the trigger could use to parse it but that wasn't being used by the engine itself.

from flogo-contrib.

fm-tibco avatar fm-tibco commented on July 21, 2024

Yes, the issue is that we currently do not have an explicit bytearray type. The types that you can use can be found in our flogo types go file.

We'll have to create a separate issue for type validation so you don't get this obscure errors.

from flogo-contrib.

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.