ra0o0f / arangoclient.net

ArangoDB .NET Client with LINQ support
Apache License 2.0
99 stars 37 forks source link

Make collection name resolver more extensible #126

Open jinhong- opened 5 years ago

jinhong- commented 5 years ago

As of writing, the set of APIs offered to customize collection name is strictly limited to me defining the specific type that i want to override the collection name for using ChangeCollectionPropertyForType. Could we expose a function that could allow you to change collection properties for any?

I would think the method signature will look something similar to the one below ConfigureCollectionProperty(Action<T, ICollectionPropertySetting>): void

ra0o0f commented 5 years ago

@jinhong- if you mean an action that receive's collection type as its argument, unfortunately there is not such method available yet, but i will consider it on next versions.

jinhong- commented 5 years ago

Open for PRs?