feat($core): add a `default_associations` config for fields discovery
test($core): add basic test for has_many association