Skip to content

Conversation

@fredberto
Copy link
Contributor

close #425

Copy link
Member

@gierens gierens left a comment

Choose a reason for hiding this comment

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

Good in general, thanks! ... What could be improved is mainly three-fold:

  1. The random user class generation for tests should stay as is and not be hard-coded.
  2. UserClass so far has had a variant 0 = NA (not available).
  3. I'm not a fan of panicking when not able to parse an integer. Either this should be handled explicitly using TryFrom or mapping to variant NA.

Copy link
Member

@gierens gierens left a comment

Choose a reason for hiding this comment

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

Looks good overall. Left a couple comments, did not comment on the UserClass stuff again, since that can be handled in the other PR.

@fredberto fredberto force-pushed the user-class-enum branch 2 times, most recently from 5315882 to 9997ad7 Compare September 18, 2025 09:58
gierens
gierens previously approved these changes Sep 19, 2025
Copy link
Member

@gierens gierens left a comment

Choose a reason for hiding this comment

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

Very nice! Thanks a lot! :)

@gierens gierens added enhancement New feature or request rust Pull requests that update Rust code api src lib feat wire cli labels Sep 19, 2025
gierens
gierens previously approved these changes Sep 19, 2025
@gierens
Copy link
Member

gierens commented Sep 19, 2025

Just fixed a tiny detail ... moved UserClass to the submodule project since it is actually a property of a project rather than a user ... i know the name is a bit confusing.

@gierens gierens merged commit e378950 into LRZ-BADW:main Sep 19, 2025
11 of 12 checks passed
@fredberto fredberto deleted the user-class-enum branch September 21, 2025 09:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api cli enhancement New feature or request feat lib rust Pull requests that update Rust code src wire

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UserClass Enum

2 participants