agentm / agentm/project-m36

Enforce Isomorphic schema contraints

Offen
#238 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Haskell
Sterne
952
Forks
50
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi there,

I have some time to look again at project-m36 and tried isomorphic schemas again launching off what I had tried in https://github.com/agentm/project-m36/issues/223#issuecomment-436585971 from the example.

I went a bit deeper and looked at the [code for IsoRestrict](https://github.com/agentm/project-m36/blob/master/src/lib/ProjectM36/IsomorphicSchema.hs#L134). So the predicate for IsoRestrict actually doesn't do anything (yet?).

I also saw your issue https://github.com/agentm/project-m36/issues/55 and it seems that at the time, `relExprMorph` didn't return an `Either`. Now that it does, should the isomorphic schema constraints be enforced here?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.