Skip to content
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

Redo OTM modeling #5

Merged
merged 5 commits into from
Jun 26, 2024
Merged

Redo OTM modeling #5

merged 5 commits into from
Jun 26, 2024

Conversation

remvee
Copy link
Collaborator

@remvee remvee commented Jun 26, 2024

No description provided.

@remvee remvee marked this pull request as ready for review June 26, 2024 09:10
(map #(vector (get-in config [% :eori])
(get-in config [% :site-name])))
(into {}))]
(fn carriers-wrapper [req]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

master-data-wrapper

(defn check! [type value]
(when-let [spec ({:consignments ::consignment
:trips ::trip
:transport-orders ::transport-order}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dus :consignments is 1 consignment? waarom gebruiken we niet de spec keys?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alle data wordt in een enkele map opgeslagen en alle :consignments dus onder die key. Ik verhuis dit naar de store namespace voor de duidelijkheid.

:flash flash
:title title
:site-name site-name))
params-> (fn params-> [params]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kan je ergens afdwingen dat deze altijd aangeroepen wordt? Kan dit als middleware?
Als deze select-keys een goed idee is, moet dit dan niet ook bij tms.web en wms.web?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In de andere namespaces worden nooit de params zomaar als object geaccepteerd vandaar dat het in die andere namespaces niet nodig is. Voor middleware vind ik het veel te speciek en kan het in de weg zitten als er andere schermen bij komen die geen crud operaties doen maar ander soortige formulieren hebben.

@remvee remvee requested a review from joodie June 26, 2024 10:04
@remvee remvee merged commit 8b6cec5 into master Jun 26, 2024
2 checks passed
@remvee remvee deleted the redo-otm branch June 26, 2024 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants