Skip to content

7.2 URI Templating - pseudo functions with signatures #11

Open
@hrennau

Description

@hrennau

In the pseudo-code, the call of populateDataFromInstance() should have one more argument, "attachmentPointer", e.g. like this:

template Data = populateDataFromInstance(T, ldo, attachmentPointer, instance)

In general, I suggest to present the three parts of pseudo-code as pseudo-functions - just by inserting the signature above the code - in order to make the required input clearer:

resolveTemplate(T, initialTemplateKeyword, ldo, attachmentPointer, instance)
... (First block of pseudo-code)

populateDataFromInstance(T, ldo, attachmentPointer, instance)
... (Second block of pseudo-code)

acceptInput(T, ldo, templateData)
... (Third block of pseudo-code)

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