resolveBySource only in resolver now.