Skip to content

Comments

Make public static fields immutable in DirectiveInfo#2781

Merged
bbakerman merged 1 commit intographql-java:masterfrom
kilink:directive-info-immutable
Apr 3, 2022
Merged

Make public static fields immutable in DirectiveInfo#2781
bbakerman merged 1 commit intographql-java:masterfrom
kilink:directive-info-immutable

Conversation

@kilink
Copy link
Contributor

@kilink kilink commented Apr 2, 2022

Public static fields in DirectiveInfo were exposing mutable collections
that are obviously not intended to be modified. Switch to immutable
collection types to avoid accidental mutation.

Public static fields in DirectiveInfo were exposing mutable collections
that are obviously not intended to be modified. Switch to immutable
collection types to avoid accidental mutation.
@bbakerman bbakerman added this to the 19.0 milestone Apr 3, 2022
@bbakerman bbakerman merged commit 66fcb3d into graphql-java:master Apr 3, 2022
@dondonz dondonz modified the milestones: 19.0, 18.1 May 3, 2022
@kilink kilink deleted the directive-info-immutable branch October 2, 2025 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants