Merged
Conversation
Restructure README to show value upfront with before/after comparison, add behavior table for enforce/default/null interaction, and improve overall readability while maintaining technical accuracy.
- Remove duplicate 'Parameterized Types' section (already covered in 'Type Parameters') - Remove duplicate 'Custom Types' section (already covered in 'Opaque Types') - Fix @moduledoc placement in Documentation example (should be at module level) - Rename test to accurately describe what it tests 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Clarify that null: true is the default behavior - Condense option tables from 8 rows to 4 using "-" for irrelevant values - Use consistent column order (default, enforce, null) across tables - Improve wording for "Providing Defaults" section
1d91b95 to
0835f60
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
fahchen
added a commit
that referenced
this pull request
Mar 7, 2026
🤖 I have created a release *beep* *boop* --- ## [0.6.0](v0.5.0...v0.6.0) (2026-03-07) ### Features * add null option and rewrite README ([#23](#23)) ([f673f6e](f673f6e)) ### Bug Fixes * typos ([cf89ffd](cf89ffd)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Phil Chen <06fahchen@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nulloption for field types to control nullability explicitlyChanges
New
nulloptionFields can now use
null: falseto preventnilfrom being added to their type, ornull: true(default) to allow it. This is useful for database records where some fields are always present (likeid,inserted_at).The option can also be set at the module level:
README rewrite
Changelog