CareBoo / Serially

Adds a unity-supported, SerializableType class and an inspector for editing SerializeReference fields.
MIT License
40 stars 0 forks source link

Type Filter documentation API mismatch #45

Closed jasonboukheir closed 4 years ago

jasonboukheir commented 4 years ago

The serializable type documentation here is using the following text

public IEnumerable<Type> MyCustomFilter(IEnumerable<Type> types)

The delegate given to TypeFilter must be a Func<IEnumerable, IEnumerable> to work.

The documentation here is incorrect. The correct delegate type is of Func<Type, bool>. The Documentation needs to be changed to the correct API first: Func<IEnumerable<Type>, IEnumerable<Type>> -> Func<Type, bool>, then we can think about supporting delegates of type Func<IEnumerable<Type>,IEnumerable<Type>>.

github-actions[bot] commented 4 years ago

:tada: This issue has been resolved in version 1.0.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 1.0.0-pre.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: