Giter VIP home page Giter VIP logo

Comments (4)

svanharmelen avatar svanharmelen commented on August 17, 2024

Thanks for your report @gwellington! And you are completely right that this isn't possible at this moment. This is mostly related to the underlying package that is used for the JSON:API marshaling.

There are a couple of features missing in that package which prevents us from implementing support for including resources. We currently work of a fork and are looking into adding the missing pieces, but my guess is that this will take a while and that for the foreseeable future go-tfe will not support includes.

I've updated the title of this issue so it reflects the problem a bit better and others can (hopefully) find this issue if they have the same question. When there is any progress on this, I'll update the issue with any relevant info.

from go-tfe.

gwellington avatar gwellington commented on August 17, 2024

@svanharmelen Thanks for the detailed info! Sounds like the easiest workaround is to create a quick REST wrapper for what I need then.

from go-tfe.

ngortheone avatar ngortheone commented on August 17, 2024

Any updates? It is the end of 2020 and it is still impossible to get created-by of the run

from go-tfe.

chrisarcand avatar chrisarcand commented on August 17, 2024

Include parameters have always been possible. Any Read() function just needs to have options passed with an Include field and the value will be properly encoded on GET requests as querystring; the jsonapi package can unmarshal the included relationships no problem.

from go-tfe.

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.