vibe.d beta banner
get vibe.d
0.7.30

Variable RestInterfaceSettings.stripTrailingUnderscore

Ignores a trailing underscore in method and function names.

class RestInterfaceSettings
{
  // ...
  bool stripTrailingUnderscore = true;
  // ...
}

With this setting set to true, it's possible to use names in the REST interface that are reserved words in D.

Authors

Sönke Ludwig, Михаил Страшун

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.