https://github.com/silassare/gobl-utils-ts
Gobl typescript utilities for web app
https://github.com/silassare/gobl-utils-ts
Last synced: 3 months ago
JSON representation
Gobl typescript utilities for web app
- Host: GitHub
- URL: https://github.com/silassare/gobl-utils-ts
- Owner: silassare
- License: mit
- Created: 2020-01-09T19:25:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-08-28T00:24:28.000Z (almost 2 years ago)
- Last Synced: 2025-03-13T04:02:07.170Z (3 months ago)
- Language: TypeScript
- Size: 189 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# About
Gobl typescript utilities for web app.
# Notes
To prevent conflict between:
- entity class property name and column magic getter and setter
- entity class method and column method (getter and setter)We only use:
- a prefix with a single `_` for property
- camelCase method name avoiding prefixing with `get` or `set`So don't use: `getSomething`, `setSomething` or `our_property`
Use instead: `_getSomething`, `_setSomething`, `doSomething` or `_our_property`