This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
Refactor: use the model_info to tell us what is a relation rather than seeing if its a dictionary #14
Labels
refactor
Improve code structure
It would be nicer to iterate through the same thing in both serializer and prefetcher which could also check that all the keys mentioned in the serializerspec were in fact fields/relations on the model and provide helpful error messages if not.
We should use the model_info to tell us what is a relation rather than seeing if its a dictionary
The text was updated successfully, but these errors were encountered: