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

Caching sometimes breaks change propagation #785

Closed
SimonCockx opened this issue Jul 2, 2024 · 0 comments · Fixed by #802
Closed

Caching sometimes breaks change propagation #785

SimonCockx opened this issue Jul 2, 2024 · 0 comments · Fixed by #802
Labels
bug Something isn't working subject: model validation This issue is about validation of Rosetta models, such as the type system

Comments

@SimonCockx
Copy link
Contributor

Repro:

namespace foo

import bar.*

body Authority Body

corpus Regulations Corpus 

report Body Corpus in T+2
    from Event
    when Eligible
    with type Report

eligibility rule Eligible from Event:
    item

reporting rule Thing from Event:
    ""
namespace foo

type Report:
    thing string (1..1)
        [ruleReference Thing]
namespace bar

type Event:
  1. Observe that it validates fine.
  2. Change the name of Event to Even, and observe that it breaks (as expected).
  3. Change the name of Even back to Event, and observe that one validation error persists on the report.
@SimonCockx SimonCockx added bug Something isn't working subject: model validation This issue is about validation of Rosetta models, such as the type system labels Jul 4, 2024
SimonCockx added a commit to REGnosys/rune-dsl that referenced this issue Aug 2, 2024
@SimonCockx SimonCockx mentioned this issue Aug 2, 2024
SimonCockx added a commit that referenced this issue Sep 4, 2024
* added unit test

* Fixes #785

* Fixed test

* Cleaned
SimonCockx added a commit that referenced this issue Sep 6, 2024
* added unit test

* Fixes #785

* Fixed test

* Cleaned

* WIP

* WIP

* WIP

* Initial fixes

* WIP

* Fixed tests

* Cleaned

* Fixed

* Cleaned

* Fixed

* Cleaned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working subject: model validation This issue is about validation of Rosetta models, such as the type system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant