Skip to content

Relationships are not nullable #11

Description

@rpanman-sonatype

Hi there

Firstly, this is a great library so thanks for putting the effort in! So now onto the issue...

There are some optional relationships in my setup where the relationship does not always exist, i.e. the relationship is valid or it has a null value. The way this soql module works at the moment it is not possible to make Relationships nullable (for example by setting nullable=True).

I've patched this on my local installation so that I can set nullable=True on relationships (basically allowing this to be set on the Relationship constructor and then passing the value along in the call to super).

I'm happy to submit a PR for this if that's intended functionality, although I haven't written a specific test for it yet :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions