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

Types that need to be deserialized during configuration need to ensure valid id values #1152

Open
jecollins opened this issue Aug 5, 2023 · 0 comments

Comments

@jecollins
Copy link
Member

As part of updating the sample broker for use in experiments, it becomes necessary to specify TariffSpecifications and other domain types in configuration files. A simple way to do this is to use the xml-serialized form in a configuration file. In this context, id values are not valid; they need to be set by calling the IdGenerator during or after the configuration process. Also, types that use id values as references (like Rate, which stores the id of its TariffSpecification) will need to update those id values during configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant