Git Product home page Git Product logo

Comments (1)

Simonl9l avatar Simonl9l commented on June 11, 2024

Hi @matkoch - please advise on what the intended usage for this kind of command setup - without using interpolation?

In the use case of a custom tool [PathVariable("my tool")] readily Tool MyTool with a MyTool.Invoke(cmd) We see in the Tool code implementation there in an implicit string cast of the arguments to a ArgumentStringHandler; but this behavior does not seem to be documented.

This seem to do more processing that has side effects, where we suspect it uses a code-generated implementation via the [[InterpolatedStringHandler] attribute that is opaque, like adding the extra quotes.

It would be good for those using Nuke to be able to understand this better...?

Our solution we to entirely build the command, with any interpolations, outside/before of the Tool.Invoke, and pass that in.

The implicit cast is not obvious unless ones IDE highlights them! This means folks get lost in thinking it is an error in their interpolation etc. than what is happening under the covers.

The implicit frictions issues such as this cause, may have folks consider alternative build solutions.

from nuke.

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.