Git Product home page Git Product logo

Comments (2)

gseganzerla avatar gseganzerla commented on July 23, 2024 1

This statement i falsy, and I think it refers to the IDE which sees the proxy as post

Hi @nikophil

I think I understood now.
That sentence in the docs refrers just to the IDE capabilities and not to type-hinted params.
So, I really need to call the ->object() method to fix the type hint problem.

Thanks for your time and help.

from foundry.

nikophil avatar nikophil commented on July 23, 2024

Hi,

the way to go here is indeed to call the ->object() method. Foundry's proxy are so-called proxy, but they are actually a wrapper around your entities.

I didn't undestand why Im getting this error because the docs says that the Proxy object that will be returned will be automatically type-hinted to a Table object

I think you refer to this sentence in the docs

the "Proxy" magically calls the underlying Post methods and is type-hinted to "Post"

This statement i falsy, and I think it refers to the IDE which sees the proxy as post

from foundry.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.