question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expose vendor entity

See original GitHub issue

Hello,

First I don’t find any answer for my problem.

I simple like to expose resource (and make custom resource) from a bundle that add an entity.

Eg :DataDogAuditBundle

I try to extend it but empty result or Unable to generate an IRI for the item of type ...

How could I achieve this ?

Thanks

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kl3skcommented, Nov 12, 2018

Ok thanks that works:

For other users.

Enable serialiser

config/packages/framework.yaml

Add this if it doesn’t exists:

    serializer:
        enabled: true
        mapping:
            paths: ['%kernel.project_dir%/path/to/your/entity_yaml_files_folder/']

And the YAML entity:

Your\Vendor\Entity:
    attributes:
        id:
            groups: ['group1']
        any_property:
            groups: ['group1']
        ...
0reactions
kl3skcommented, Dec 3, 2019

Fill the framework.yaml file as I describe.

In this file the directory where your vendor entities mapping storage is set.

Then create (in this defined directory) your vendor mapping file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Expose project's vendor via REST API | Community
Hi all,I'd like to use the default endpoint to retrieve the relationship between the Project & Vendor. Could someone shed some light on...
Read more >
Recipient Vendor Entity Definition - Law Insider
JV Entity means any joint venture of the Borrower or any Restricted Subsidiary that is not a Subsidiary. Transferred Entities shall have the...
Read more >
Business Entities: Partnerships expose individuals to personal ...
The entity, whether partnership, limited liability company or corporation, dictates the protections our personal assets get when we take these risks through ...
Read more >
Who Is Considered a Third Party or Vendor? - Venminder
A third party is an entity with whom you have a written agreement to ... as important as understanding that third parties/vendors can...
Read more >
Grape::Entity - GitLab
Expose documentation with the field. Gets bubbled up when used with Grape and various API documentation systems. expose :text, documentation: { type: "String", ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found