apigear-io / cli

The ApiGear client as go project
https://apigear.io
MIT License
1 stars 2 forks source link

the rules document shall announce the traget languages used #115

Open jryannel opened 9 months ago

jryannel commented 9 months ago

This will allow the generator to check and warn only for the targeted languages.

Currently we don't know the target language and we need to warn for every language reserved keyword.

jryannel commented 9 months ago

See also https://epicgames.slack.com/archives/D02HBEBSPC2/p1699910947512319

jryannel commented 5 months ago

The rules document can now have a languages entry to list the generated programming languages.

languages: [py]
features:
  ...

Then only these languages are checked agains. For example

name: demo.bbb
version: "1.0"

interfaces:
  - name: Pass

We will get a warning:

12:22:42 WRN interface name "Pass" is a reserved keyword in py topic=rkw