adrianffletcher

Results 9 comments of adrianffletcher

I would like a default implementation that works even if I have a custom state object. For example: clause init(request : Request) : Response { set state BusinessLicenseState { stateId:...

No worries. I don't really use stateId so I would really like the smart clause to be initialised with empty state without me having to do anything. This doesn't seem...

I would like to define the standard default state when defining the state model. Then when I don't provide an init method I just get the default state defined in...

@jeromesimeon That sounds great to me. I particularly like the idea of generating a .ergo file from a model.cto file, creating a default init method taking into account the default...

[[email protected]](https://github.com/accordproject/ergo/files/4047506/managed-energy-services%400.1.1.cta.zip)

Yes, this is a timezone issue. On reflection I think we need a logical Date object that does not include timezone information for this kind of logic.

Yes, you are right, there would be an implicit timezone but the object would behave the same regardless of the timezone. So if you call getDay on "2020-01-02" then you...

Doesn't cicero trigger by definition check that the request and state are valid?