Skip to content

Conversation

@mohsenD98
Copy link
Collaborator

@mohsenD98 mohsenD98 commented Nov 30, 2025

🚀 Description

Adds a comprehensive test that creates parent and child memory layers, registers a relation between them via the new relation helper, inserts features, and verifies relation and feature attribute integrity.

  • Creates "Districts" (parent) and "Villages" (child) layers
  • Registers a parent→child relation using the relation helper
  • Inserts a parent feature and two child features referencing that parent
  • Confirms the relation is registered and that feature attributes match expected values

@mohsenD98 mohsenD98 self-assigned this Nov 30, 2025
@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Nov 30, 2025

Copy link
Member

@nirvn nirvn left a comment

Choose a reason for hiding this comment

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

So far so good, some comments.

@mohsenD98 mohsenD98 closed this Dec 4, 2025
@mohsenD98 mohsenD98 reopened this Dec 4, 2025
Copy link
Member

@nirvn nirvn left a comment

Choose a reason for hiding this comment

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

One remaining change needed, the rest looks good.

@nirvn nirvn merged commit 8478ad1 into master Dec 8, 2025
26 checks passed
@nirvn nirvn deleted the test-relations branch December 8, 2025 06:33
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.

4 participants