Skip to content

Check if excluded key exists before deletion - #52

Closed
kelvinhammond wants to merge 1 commit into
kvesteri:masterfrom
kelvinhammond:patch-1
Closed

Check if excluded key exists before deletion#52
kelvinhammond wants to merge 1 commit into
kvesteri:masterfrom
kelvinhammond:patch-1

Conversation

@kelvinhammond

Copy link
Copy Markdown

Otherwise it throws an exceptions if the meta exclude include an extra key which is either already removed or doesn't exists such as 'id' or 'pk'.

@kvesteri

Copy link
Copy Markdown
Owner

I think it is desirable that the exclude returns exception for unknown keys. Imagine a situation where user makes a typo typing a field name in the exclude. I think we need to still think about this.

@kelvinhammond

Copy link
Copy Markdown
Author

Superseded by #56

@kelvinhammond
kelvinhammond deleted the patch-1 branch February 16, 2014 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants