Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some static methods in ERXPartial seem only partly implemented #827

Open
paulhoadley opened this issue Mar 8, 2017 · 0 comments
Open

Some static methods in ERXPartial seem only partly implemented #827

paulhoadley opened this issue Mar 8, 2017 · 0 comments
Assignees
Labels

Comments

@paulhoadley
Copy link
Contributor

I wanted to use ERXPartial.partialProperties(), which should return a list of property names for the partial entity. Its implementation is based on a couple of other static methods:

public static NSArray<String> partialProperties() {
	return partialAttributes().arrayByAddingObjectsFromArray(partialRelationships());
}

Except both of those methods return just NSArray.EmptyArray, e.g.:

public static NSArray<String> partialRelationships() {
	return NSArray.EmptyArray;
}

It looks a bit like those were method stubs to be implemented later. @davidAtGVC: I don't suppose you can remember what was going on here, can you? If you could even point me at where we might set these arrays up, I might be able to fix this up.

@paulhoadley paulhoadley self-assigned this Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant