-
Notifications
You must be signed in to change notification settings - Fork 372
Parameterized Subroute #1866
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Parameterized Subroute #1866
Conversation
…, or even just the type arguments generally
…nd works as expected
…o context and no type args
@@ -76,7 +76,7 @@ instanceNamesFromOpts (MkRouteOpts eq shw rd) = prependIf eq ''Eq $ prependIf sh | |||
|
|||
-- | Generate the constructors of a route data type. | |||
mkRouteCons :: [ResourceTree Type] -> Q ([Con], [Dec]) | |||
mkRouteCons = mkRouteConsOpts defaultOpts | |||
mkRouteCons = mkRouteConsOpts defaultOpts [] [] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would appreciate recommendations on what to do for this.
252cfbe
to
952db23
Compare
952db23
to
1e3260e
Compare
there are some really weird memcpy errors in CI which I doubt are my fault. |
ah, looks like the old TH operators take slightly more different parameters to what I expected. I can't fix this right now. |
Yeah I re-ran the failing builds because it didn't look like the failures were related to your change. Seemed to just be some transient Stack error. Ok, we can save this change for a rainy day. It's at least clear what problem we're solving here 🙂 |
Before submitting your PR, check that you've:
@since
declarations to the Haddocks for new, public APIsAfter submitting your PR:
Trying to solve #1865