Skip to content

Added VectorFromValues resolver.#21

Merged
lextatic merged 2 commits intomainfrom
feature/vector-from-values-resolver
May 4, 2026
Merged

Added VectorFromValues resolver.#21
lextatic merged 2 commits intomainfrom
feature/vector-from-values-resolver

Conversation

@lextatic
Copy link
Copy Markdown
Contributor

@lextatic lextatic commented May 4, 2026

Added

  • Added VectorFromValues resolver.

@lextatic lextatic added the added New features label May 4, 2026
@lextatic lextatic requested a review from Copilot May 4, 2026 02:17
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

Adds a new Statescript property resolver for constructing Vector2/Vector3/Vector4 values from independently-resolved float components, along with documentation and unit tests.

Changes:

  • Introduces VectorFromValuesResolver to assemble vectors from 2–4 float component resolvers.
  • Adds unit tests validating output types, resolved values, nested resolver composition, and type validation failures.
  • Documents the new resolver and links it from the resolvers index.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
docs/statescript/resolvers/vectorfromvalues-resolver.md New resolver documentation and examples.
docs/statescript/resolvers/README.md Adds the resolver to the public resolver list.
Forge/Statescript/Properties/VectorFromValuesResolver.cs Implements the new resolver and construction-time type validation.
Forge/Statescript/Properties/VectorComponentResolver.cs Minor formatting/indentation adjustment.
Forge.Tests/Statescript/Resolvers/VectorFromValuesResolverTests.cs Adds coverage for the new resolver’s behavior and validation.

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

Comment thread Forge/Statescript/Properties/VectorFromValuesResolver.cs
Comment thread docs/statescript/resolvers/vectorfromvalues-resolver.md Outdated
Comment thread docs/statescript/resolvers/vectorfromvalues-resolver.md
Comment thread docs/statescript/resolvers/vectorfromvalues-resolver.md
@lextatic lextatic merged commit b010936 into main May 4, 2026
1 check passed
@lextatic lextatic deleted the feature/vector-from-values-resolver branch May 4, 2026 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

added New features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants