Closed EraYaN closed 3 years ago
Hi, do you have a unit test that demonstrates this, I'm unable to reproduce it?
I have to admit that I can't really figure out anymore how I broke it. I'll give it a couple more tries. I think at some point the StateInfo objects didn't get the AddRelationships functions called, so there were nulls for certain states and that broke trying to serialize to json.
OK, so if we can't reproduce it then I'd rather not merge it. Don't fix it if it's working, you know...
It's been too long and I can't recall how we broke it, and the change was before the initial commit. So I'll close this PR and the issue.
This returns
Enumerable.Empty<TransitionInfo>()
if both arenull
and still works if either of theIEnumerable
's arenull
. When both are notnull
behaviour is unchanged.Closes #440