You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/cody/smurf/test/ITProTV/Database/Particle/Models/HostSpec.hs:49:27-51: error:
• Couldn't match type ‘Database.MongoDB.Query.MongoContext’
with ‘Database.Persist.Sql.Types.Internal.SqlBackend’
arising from a use of ‘node’
• In a stmt of a 'do' block:
Entity _ hostVal <- node @Host.Host () mempty
In the second argument of ‘($)’, namely
‘do Entity _ hostVal <- node @Host.Host () mempty
Host.hostBio hostVal
`Test.shouldBe` Just (Gluon.HostBio "Some Texan.")’
In a stmt of a 'do' block:
runGraphulaT Nothing _runDB
$ do Entity _ hostVal <- node @Host.Host () mempty
Host.hostBio hostVal
`Test.shouldBe` Just (Gluon.HostBio "Some Texan.")
I'm assuming this means that you must be using the SqlBackend which persistent-mongoDB does not use.
Any way to make this work, ideas on how feasible implementing it is, etc?
The text was updated successfully, but these errors were encountered:
Yes, it is currently bound to SqlBackend, though I'm not sure if that is from convenience or necessity. @cdparks do you see a viable path to abstracting persistent backends away and removing the dependence on SqlBackend?
I think the answer is no. I ran into this error:
I'm assuming this means that you must be using the SqlBackend which persistent-mongoDB does not use.
Any way to make this work, ideas on how feasible implementing it is, etc?
The text was updated successfully, but these errors were encountered: