You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
DataFetchingFieldSelectionSetImpl getFields with child path #2505
Because this is on windows, the value for Path path = Paths.get(flattenedField);
will be edge\node\photo
But the mkIterable(fieldGlobPattern, fieldGlobPatterns) produce :
We have fixed this so that you still use a logical / (unix style) but if you are on windows it will flip under the covers for you so that the glob code we use will match.
So as a consumer is not OS specific - we will ask you to enter / - but it will be change in Windows at runtime so that FileSystems.getDefault().getPathMatcher("glob:" + fieldGlobPattern) works.
We use the path matcher aboe in Java to get a free "glob" matching lib - not for files but for logical names.
Activity
bbakerman commentedon Aug 11, 2021
Yikes - we want the glob support not for files but for logical names. Bugger
bbakerman commentedon Aug 15, 2021
We have fixed this so that you still use a logical
/(unix style) but if you are on windows it will flip under the covers for you so that the glob code we use will match.So as a consumer is not OS specific - we will ask you to enter
/- but it will be change in Windows at runtime so thatFileSystems.getDefault().getPathMatcher("glob:" + fieldGlobPattern)works.We use the path matcher aboe in Java to get a free "glob" matching lib - not for files but for logical names.
but the specifics here caught us out.