Add a note discouraging new use of `dialect_of` macro (#1448)

diff --git a/src/dialect/mod.rs b/src/dialect/mod.rs
index 619b547..90dffe8 100644
--- a/src/dialect/mod.rs
+++ b/src/dialect/mod.rs
@@ -60,6 +60,13 @@
 
 /// Convenience check if a [`Parser`] uses a certain dialect.
 ///
+/// Note: when possible please the new style, adding a method to the [`Dialect`]
+/// trait rather than using this macro.
+///
+/// The benefits of adding a method on `Dialect` over this macro are:
+/// 1. user defined [`Dialect`]s can customize the parsing behavior
+/// 2. The differences between dialects can be clearly documented in the trait
+///
 /// `dialect_of!(parser Is SQLiteDialect |  GenericDialect)` evaluates
 /// to `true` if `parser.dialect` is one of the [`Dialect`]s specified.
 macro_rules! dialect_of {