ossuminc / riddl

A compiler for the DDD-based design language RIDDL
https://riddl.tech/
Apache License 2.0
21 stars 6 forks source link

False Warning - author reference for vital definitions #588

Closed AlexWeinstein92 closed 6 months ago

AlexWeinstein92 commented 6 months ago

Code:

context TestGateway is {
  option gateway
  by author Reid

  include "messages"
  // include "handler"

} briefly "A gateway for testing Improving.app instances" explained as {
| The messages sent to this service will create various entities. This is
| typically done by the runScenario command which allows a testing scenario
| to be set up abstractly.
}

Warning:

[warning] Missing: test/TestGateway.riddl(1:1):
Vital definitions should have an author reference:
context TestGateway is {
reid-spencer commented 6 months ago

The test case provided does not reproduce the problem indicated. Please validate your test case was correctly transcribed in #589

reid-spencer commented 6 months ago

Thanks for explaining on our call. My test was only concerning itself with an error, but this is about the warnings produced.