package graphql.schema.diff;

import graphql.PublicApi;

/**
 * A classification of difference events.
 */
@PublicApi
public enum DiffCategory {
    /**
     * The new API is missing something compared to the old API
     */
    MISSING,
    /**
     * The new API has become stricter for existing clients than the old API
     */
    STRICTER,
    /**
     * The new API has an invalid structure
     */
    INVALID,
    /**
     * The new API has added something not present in the old API
     */
    ADDITION,
    /**
     * The new API has changed something compared to the old API
     */
    DIFFERENT
}

@@ -601,11 +601,136 @@
 IFFERENT
+,%0A    /**%0A     * The new API has deprecated something or removed something deprecated from the old API%0A     */%0A    DEPRECATED
 %0A%7D%0A

Add new diff category for deprecated differences