Closed arkadiusz-wieczorek closed 9 years ago
Woah, that's an oversight, this shouldn't be like that. The second declaration should be deleted. Also, any future duplicate fields should be detected, I've set up an issue for that - https://github.com/Sealious/Sealious/issues/213
Removed the duplicate field in 098093714915
I have an idea. Developer would be extend ResourceType: user
in index.js
. If he won't do this then ResourceType
would have default fields only username
and password
otherwise ResourceType
would have all fields which Developer adds (extends) in index.js
.
I think it's a good idea. imo this should be even possible for every resource-type, not only user
:)
Currently we have no other resource-type hence my indication.
Why
resource_type.user.js
has twousername
declaration?