yml 경고 표시 It is recommended to escape it by surrounding it with '[]'

ino5·2022년 7월 24일
0

경고 표시

This key is used in a map and contains special characters. It is recommended to escape it by surrounding it with '[]'

키값에 특수문자가 들어가 있어서 exception 처리하라는 경고창이었다. 는 exception 처리를 안해도 정상적으로 작동하긴 한다.

해결방법

"[]"로 감싸주었다.

참고

Symbols and special characters in maps as keys THROUGH YML FILE

profile
궁금한 것을 찾아보거나 문제를 해결한 과정을 날 것의 글로 작성하였습니다.

2개의 댓글

comment-user-thumbnail
2023년 9월 27일

감사합니다!

1개의 답글