Is it really okay do deal with schemas cross-context?

Say that I have two contexts with the following schemas. Organizations pretty much own accounts and profiles are attached to accounts.

  • Organizations
    • Organization
  • Users
    • Profile
    • Account

Is it okay for me to list all of the profiles for an organization with a function such as Organizations.list_profiles(organization)? What’s the best way to organize relationships such as these in the contexts?

It’s quite okay. The linear structure we all pretend our data complies with is of course an illusion.

Just go for it. If you spot an increasing case of feature envy then you’ll have a prime candidate for moving functions around.