Skip to content

allow empty follows#38

Merged
vic merged 1 commit into
mainfrom
empty-follows
Oct 27, 2025
Merged

allow empty follows#38
vic merged 1 commit into
mainfrom
empty-follows

Conversation

@vic
Copy link
Copy Markdown
Member

@vic vic commented Oct 27, 2025

No description provided.

Copilot AI review requested due to automatic review settings October 27, 2025 03:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces support for empty follows strings in flake inputs, allowing users to explicitly specify an empty follow relationship. The implementation adds validation logic to accept null/empty values and includes a test case to verify this behavior.

Key changes:

  • Added validation for empty follows strings using a testEmpty predicate
  • Added unit test verifying that empty follows strings are properly handled

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
dev/modules/unit-tests/inputsExpr.nix Added test case verifying empty follows string handling
dev/modules/_lib/default.nix Modified follows attribute to include empty value validation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread dev/modules/_lib/default.nix
@vic vic merged commit 57b2a65 into main Oct 27, 2025
6 checks passed
@vic vic deleted the empty-follows branch October 27, 2025 03:21
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