Comments (3)
Are you proposing a Liskov substitution semantic, or is this just syntactic sugar for creating a new enum type that shares values with another type?
from concerto.
Closer to the former. The line
o VehicleStatus status
Is saying, "expect an enum value here, coming from the VehicleStatus
enum declaration, or any enum declaration that extends VehicleStatus
. We would have to add logic to enum declarations to check that they were not redeclaring enum values from a super type...
The implementation could be something like rebuilding EnumDeclaration on top of ConceptDeclaration so we share a lot of the logic for handling super types, decorators etc.
from concerto.
I'm having some déja vu!
#291
from concerto.
Related Issues (20)
- Declaration validation uniqueness check is O(n^2)
- > We should make this consistent with what we are doing for other type references, e.g. TypeIdentifier for super class. What does that look like?
- Need a method to resolve type inference for decorators with type references HOT 17
- Throw error on validation of model with decorators with type reference if type not present HOT 5
- Support for References in Map values HOT 10
- Refactor declaration uniqueness check
- Performance updates for uniqueness checks
- Namespaces vulnerable to ReDoS HOT 1
- Fix breaking chnages coming up from lerna
- Create a linter for Concerto HOT 14
- Semantic Validation Rules
- Type Utility Functions (e.g. `Partial`,`Omit`) HOT 2
- Add error codes to property validation errors HOT 2
- Fix `no such file or directory error` inside in decoratormanager.js Test File
- Standardize/localize error messaging
- Make `accept` methods of introspection classes public HOT 1
- Factory doesn't generate empty entities HOT 1
- Make serializer option `strictQualifiedDateTimes` default behaviour
- LocalDateTime
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from concerto.