Skip to content

Implement @nexus.default for Go and C# - #168

Open
dplyukhin wants to merge 1 commit into
mainfrom
nexgen-better-defaults
Open

Implement @nexus.default for Go and C##168
dplyukhin wants to merge 1 commit into
mainfrom
nexgen-better-defaults

Conversation

@dplyukhin

Copy link
Copy Markdown
Contributor

What was changed

DWISOTT

Why?

It was a bug!

Checklist

  1. Closes [Bug] [WIT] .NET and Go backends ignore @nexus.default #160

  2. How was this tested: Updated advanced tests to check the value that's been assigned.

  1. Any docs updates needed? No

@dplyukhin
dplyukhin requested a review from a team as a code owner August 28, 2026 23:07
.cloned()
.and_then(|record| proto::planned_record_field_data(&record, field_name, self.planner))
.unwrap_or_default()
let Some(record) = self.source_spec.record(record_full_name).cloned() else {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems likely that given Python already implemented this, we either don't actually need the planning step (if the logic in each lang is very small), or more likely Python should have some removal of logic to share this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants