Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of UUID field – open for discussion #4

Open
davous267 opened this issue Oct 18, 2021 · 0 comments
Open

Addition of UUID field – open for discussion #4

davous267 opened this issue Oct 18, 2021 · 0 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@davous267
Copy link
Contributor

davous267 commented Oct 18, 2021

Suggestion by Paul Sorensen (@ncadpaul):

It looks like the Id field is a number locally unique to file; could an optional string encoded UUID (see https://datatracker.ietf.org/doc/html/rfc4122) be added per object? For example: “uuid" : "2948446b-6213-44ba-b81f-c4e5f7dab2eb”.
For example, this would assist in mapping from UNF to my apps format for round trip processing in apps like OxDNA / OxView that might support it going forward; otherwise, I have to generate a separate file to track that information.

A possible solution in the current version of UNF:

Utilization of misc field by adding something like uuidMap of a form "id" -> "uuid" where id is a local unique ID in unf, UUID is desired UUID.

Is there a common desire for this feature? How this should be handled on a design side, etc.? Opinions welcome.

@davous267 davous267 added enhancement New feature or request question Further information is requested labels Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant