In order to mitigate limitations with domains in views, now you can define a computed field in a domain attribute and It's related method will return the domain to apply.