Comments (4)
This seems to cause the issue:
27801f7#diff-a46a12735ff291b0b7d78722b2550cb4R51
This is recently added. May I ask why the namespace isn't allowed anymore (Status\AwaitingFulfillment
)?
from fpp.
Try this:
data Status = AwaitingFulfillment | Active | Cancelled deriving(Enum);
The enum deriving was completely refactored and now support also value mappings (see wiki for examples).
Sorry this change made problems with your code, but that's the way it is using non-stable software :-)
from fpp.
Ah yes, that seems to be working, I wasn't sure it would since the classes are in another namespace, but it works, thanks!
from fpp.
from fpp.
Related Issues (20)
- When making a FromArray deriving shouldn't an enum use fromValue instead of fromName? HOT 7
- FromArray deriving issue when field type is array of objects HOT 11
- Remove is_a
- Missing docblock HOT 1
- Wrong ternary operator in buildToArrayBody HOT 5
- Is the output configurable? HOT 2
- Add existing interfaces HOT 1
- Referring to classes that otherwise exist but not generated does not appear to work HOT 3
- What is the best way to handle value objects that need customization? (additional methods, etc) HOT 1
- ToArray/FromArray do not support associative arrays HOT 1
- Wrong ternary operator in buildToArrayBody HOT 2
- Remove unneeded imports
- Maximum function nesting level reached HOT 2
- Problem with custom types HOT 1
- Parser cannot parse single Event / Command
- Add non-aggregate root events
- Generate psalm-annotations as well
- Add query type
- Add conditions HOT 1
- Blocks on protected keywords protection where it doesn't make sense. HOT 2
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 fpp.