Tom Hadley

Results 12 comments of Tom Hadley

This appears to be the underlying issue: https://github.com/golang/go/issues/26504

See also: https://github.com/golang/go/issues/27456 https://github.com/golang/go/issues/24661

It looks like `go/packages` is mostly stabilized: https://github.com/golang/tools/commit/4b6ee5fb873dbd9210d5e0db7bdb0ee4f501aeaf

This appears to be related to defining a one-to-one relation as required without defining a scalar value - specifically here, the `Invite` `Team` relation. In that case, I would expect...

@mattkindy part of my realization in working around this was that a model can't enforce a required foreign key if that foreign key does not exist on the model's table....

Does this mean that the functions simply need to be removed from the tuple literal on lines 43-45?

What would it take to get this done? Since the resource is already in magic modules, does that mean a PR similar to https://github.com/GoogleCloudPlatform/magic-modules/pull/6083 -> https://github.com/hashicorp/terraform-provider-google-beta/pull/4389 ?

Did a bit more research - it appears that the schema hasn't been updated, so the bulk of this work would mean adding the following resources to [mmv1/products/cloudrun/api.yaml](https://github.com/GoogleCloudPlatform/magic-modules/tree/main/mmv1/products/cloudrun/api.yaml) + [mmv1/products/cloudrun/terraform.yaml](https://github.com/GoogleCloudPlatform/magic-modules/tree/main/mmv1/products/cloudrun/terraform.yaml):...

@melinath is [this](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.jobs#Job) what you're looking for?

Somewhat tedious to un-nest (and maybe this info isn't helpful), but it looks like it's the same as a [Service](https://github.com/GoogleCloudPlatform/magic-modules/blob/main/mmv1/products/cloudrun/api.yaml#L225) but with a [Job](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.jobs#Job) instance as the [request body](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.jobs/create#request-body) (not...