1.
If a person or their behaviour goes against your wishes, beliefs, or expectations, their behaviour is the opposite of what you want, believe in, or expect.
Changes are being made here which ~ my principles and I cannot agree with them.
PHRASAL VERB: V P n
2.
If a decision, vote, or result goes against you, you do not get the decision, vote, or result that you wanted.
The prime minister will resign if the vote goes against him...
PHRASAL VERB: V P n