Comments (4)
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.
@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.
Any updates? It is the end of 2020 and it is still impossible to get created-by
of the run
from go-tfe.
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)
- [BUG] unprocessable entity while creating the Workspace HOT 1
- Filter active runs with status exclusion or list of inclusions HOT 2
- Get CurrentUser doesn't return Permission details
- Operation failed: failed uploading filesystem: request failed: PUT, http2: timeout awaiting response headers HOT 3
- Pulling Health information from a given workspace in Terraform Cloud HOT 6
- Filtering workspaces based on tags fails if tag value contains ":" HOT 1
- `Filter` parameter in `OrganizationTagsListOptions` does not work HOT 3
- Test Issue
- AdminSAMLSetting struct does not support signature-signing-method and signature-digest-method attributes HOT 6
- Test Issue 2
- Another Jira Integration Test
- Hello, World HOT 1
- Support more error values when handling HTTP status codes
- missing function(s) to get workspace-resources HOT 2
- Project name attr is not returned properly HOT 5
- Test Bug
- Test FR
- PolicyCheck does not return results hash
- panic: runtime error in stateVersions.Upload HOT 4
- "upgrade" from golang/mock to uber-go/mock
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-tfe.