Skip to content

Automatically Generate ID during init#55

Merged
stiefn merged 5 commits intomainfrom
id_handling
May 12, 2025
Merged

Automatically Generate ID during init#55
stiefn merged 5 commits intomainfrom
id_handling

Conversation

@ritzdorf
Copy link
Contributor

@ritzdorf ritzdorf commented Mar 26, 2025

  1. Each file generated with init now automatically gets an ID at the end. This was requested based on user feedback.
  2. Removed DumpedDVF and BasicDVF because they were originally meant for features that are no longer needed. Just one DVF struct now. This way the ID can directly be generated.
  3. New Testdata with IDs inside.

Copy link

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 automatic ID generation for files created during initialization and removes redundant DVF structs.

  • Automatically generates a new ID in the initialization flow.
  • Replaces DumpedDVF with a unified CompleteDVF struct and updates related properties accordingly.

Reviewed Changes

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

File Description
src/dvf.rs Replaced DumpedDVF with CompleteDVF and introduced an ID generation call.
lib/dvf/parse.rs Removed DumpedDVF, adjusted trait BasicDVF, and updated CompleteDVF struct fields.

@stiefn stiefn merged commit f5c1b0e into main May 12, 2025
1 check passed
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.

3 participants